##// END OF EJS Templates
issue1419: catch strange readline import error on windows
Brendan Cully -
r7496:0a27d0db default
parent child Browse files
Show More
@@ -407,7 +407,8 b' class ui(object):'
407 import readline
407 import readline
408 # force demandimport to really load the module
408 # force demandimport to really load the module
409 readline.read_history_file
409 readline.read_history_file
410 except ImportError:
410 # windows sometimes raises something other than ImportError
411 except Exception:
411 pass
412 pass
412 line = raw_input(prompt)
413 line = raw_input(prompt)
413 # When stdin is in binary mode on Windows, it can cause
414 # When stdin is in binary mode on Windows, it can cause
General Comments 0
You need to be logged in to leave comments. Login now