##// END OF EJS Templates
ui: add brief comment why raw_input() needs dummy ' ' prompt string...
Yuya Nishihara -
r22291:3b39e152 default
parent child Browse files
Show More
@@ -626,6 +626,8 b' class ui(object):'
626 oldout = sys.stdout
626 oldout = sys.stdout
627 sys.stdin = self.fin
627 sys.stdin = self.fin
628 sys.stdout = self.fout
628 sys.stdout = self.fout
629 # prompt ' ' must exist; otherwise readline may delete entire line
630 # - http://bugs.python.org/issue12833
629 line = raw_input(' ')
631 line = raw_input(' ')
630 sys.stdin = oldin
632 sys.stdin = oldin
631 sys.stdout = oldout
633 sys.stdout = oldout
General Comments 0
You need to be logged in to leave comments. Login now