##// END OF EJS Templates
Minor cleanup - leftover debug stuff
fperez -
Show More
@@ -120,7 +120,6 b' class InteractiveRunner(object):'
120
120
121 c = pexpect.spawn(self.program,self.args,timeout=None)
121 c = pexpect.spawn(self.program,self.args,timeout=None)
122
122
123 prompts = c.compile_pattern_list(self.prompts[0])
124 prompts = c.compile_pattern_list(self.prompts)
123 prompts = c.compile_pattern_list(self.prompts)
125
124
126 prompt_idx = c.expect_list(prompts)
125 prompt_idx = c.expect_list(prompts)
@@ -155,7 +154,7 b' class InteractiveRunner(object):'
155 c.interact()
154 c.interact()
156 except OSError:
155 except OSError:
157 # This is what fires when the child stops. Simply print a
156 # This is what fires when the child stops. Simply print a
158 # newline so the system prompt is alingned. The extra
157 # newline so the system prompt is aligned. The extra
159 # space is there to make sure it gets printed, otherwise
158 # space is there to make sure it gets printed, otherwise
160 # OS buffering sometimes just suppresses it.
159 # OS buffering sometimes just suppresses it.
161 write(' \n')
160 write(' \n')
General Comments 0
You need to be logged in to leave comments. Login now