scripts/install-debugclients.py

changeset 8243
cc717c2ae956
parent 7960
e8fc383322f7
child 8260
2161475d9639
--- a/scripts/install-debugclients.py	Thu Apr 15 16:52:05 2021 +0200
+++ b/scripts/install-debugclients.py	Thu Apr 15 18:11:24 2021 +0200
@@ -18,6 +18,7 @@
 import compileall
 import shutil
 import fnmatch
+import contextlib
 
 # Define the globals.
 progName = None
@@ -41,10 +42,8 @@
     global currDir
     
     if sys.platform.startswith("win"):
-        try:
+        with contextlib.suppress():
             input("Press enter to continue...")         # secok
-        except (EOFError, SyntaxError):
-            pass
     
     os.chdir(currDir)
     

eric ide

mercurial