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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 23 Feb 2013 11:40:30 +0100
branch
5_3_x
changeset 2429
a68c882ad6cc
parent 2422
21509a6de6e0
child 2431
af6dc2ad69d4

Wrapped calls to input() by try-except in install.py.
(grafted from 11e6e63a89d098e17908e1198b72b8043e5323b6)

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Sat Feb 16 16:30:26 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