Wrapped calls to input() by try-except in install.py.

Sat, 23 Feb 2013 11:40:30 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 23 Feb 2013 11:40:30 +0100
changeset 2428
11e6e63a89d0
parent 2427
46481fe988d2
child 2430
fd7fa26076d2

Wrapped calls to input() by try-except in install.py.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Sat Feb 23 11:29:01 2013 +0100
+++ b/install.py	Sat Feb 23 11:40:30 2013 +0100
@@ -71,7 +71,10 @@
     global currDir
     
     if sys.platform.startswith("win"):
-        input("Press enter to continue...")
+        try:
+            input("Press enter to continue...")
+        except EOFError:
+            pass
     
     os.chdir(currDir)
     

eric ide

mercurial