##// END OF EJS Templates
Fix error on Windows if "hg log | more" exits.
Eung-Ju Park -
r2013:65634e10 default
parent child Browse files
Show More
@@ -197,10 +197,10 b' class ui(object):'
197 raise
197 raise
198
198
199 def flush(self):
199 def flush(self):
200 try:
200 try: sys.stdout.flush()
201 sys.stdout.flush()
201 except: pass
202 finally:
202 try: sys.stderr.flush()
203 sys.stderr.flush()
203 except: pass
204
204
205 def readline(self):
205 def readline(self):
206 return sys.stdin.readline()[:-1]
206 return sys.stdin.readline()[:-1]
General Comments 0
You need to be logged in to leave comments. Login now