Show More
@@ -544,7 +544,7 b' class ui(object):' | |||
|
544 | 544 | # instead of trying to emulate raw_input, swap self.fin with sys.stdin |
|
545 | 545 | old = sys.stdin |
|
546 | 546 | sys.stdin = self.fin |
|
547 | line = raw_input() | |
|
547 | line = raw_input(' ') | |
|
548 | 548 | sys.stdin = old |
|
549 | 549 | |
|
550 | 550 | # When stdin is in binary mode on Windows, it can cause |
@@ -561,7 +561,7 b' class ui(object):' | |||
|
561 | 561 | self.write(msg, ' ', default, "\n") |
|
562 | 562 | return default |
|
563 | 563 | try: |
|
564 |
r = self._readline(self.label(msg, 'ui.prompt') |
|
|
564 | r = self._readline(self.label(msg, 'ui.prompt')) | |
|
565 | 565 | if not r: |
|
566 | 566 | return default |
|
567 | 567 | return r |
General Comments 0
You need to be logged in to leave comments.
Login now