Show More
@@ -33,6 +33,8 b' from StringIO import StringIO' | |||||
33 | import sys |
|
33 | import sys | |
34 | import codecs |
|
34 | import codecs | |
35 | import locale |
|
35 | import locale | |
|
36 | import time | |||
|
37 | ||||
36 | for enc in (locale.getpreferredencoding(), |
|
38 | for enc in (locale.getpreferredencoding(), | |
37 | sys.getfilesystemencoding(), |
|
39 | sys.getfilesystemencoding(), | |
38 | sys.getdefaultencoding()): |
|
40 | sys.getdefaultencoding()): | |
@@ -77,6 +79,7 b' class WxNonBlockingIPShell(NonBlockingIPShell):' | |||||
77 | wx.CallAfter(self._yesNoBox, prompt) |
|
79 | wx.CallAfter(self._yesNoBox, prompt) | |
78 | while self.answer is None: |
|
80 | while self.answer is None: | |
79 | wx.Yield() |
|
81 | wx.Yield() | |
|
82 | time.sleep(.1) | |||
80 | return self.answer |
|
83 | return self.answer | |
81 |
|
84 | |||
82 | def _yesNoBox(self, prompt): |
|
85 | def _yesNoBox(self, prompt): |
General Comments 0
You need to be logged in to leave comments.
Login now