41 if os.path.exists("eric7config.py"): |
41 if os.path.exists("eric7config.py"): |
42 os.remove("eric7config.py") |
42 os.remove("eric7config.py") |
43 os.rename("eric7config.py.orig", "eric7config.py") |
43 os.rename("eric7config.py.orig", "eric7config.py") |
44 |
44 |
45 if sys.platform.startswith(("win", "cygwin")): |
45 if sys.platform.startswith(("win", "cygwin")): |
46 with contextlib.suppress(): |
46 with contextlib.suppress(EOFError): |
47 input("Press enter to continue...") # secok |
47 input("Press enter to continue...") # secok |
48 |
48 |
49 os.chdir(currDir) |
49 os.chdir(currDir) |
50 |
50 |
51 sys.exit(rcode) |
51 sys.exit(rcode) |