From 368084f0c843392eb99c41a6fe611f7a1eefd773 2006-05-30 01:46:42 From: fperez Date: 2006-05-30 01:46:42 Subject: [PATCH] Minor cleanup - leftover debug stuff --- diff --git a/IPython/irunner.py b/IPython/irunner.py index 1505fa3..a4b1d56 100755 --- a/IPython/irunner.py +++ b/IPython/irunner.py @@ -120,7 +120,6 @@ class InteractiveRunner(object): c = pexpect.spawn(self.program,self.args,timeout=None) - prompts = c.compile_pattern_list(self.prompts[0]) prompts = c.compile_pattern_list(self.prompts) prompt_idx = c.expect_list(prompts) @@ -155,7 +154,7 @@ class InteractiveRunner(object): c.interact() except OSError: # This is what fires when the child stops. Simply print a - # newline so the system prompt is alingned. The extra + # newline so the system prompt is aligned. The extra # space is there to make sure it gets printed, otherwise # OS buffering sometimes just suppresses it. write(' \n')