scripts/uninstall.py

branch
eric7
changeset 9328
49a0a9cb2505
parent 9221
bf71ee032bb4
child 9361
718bc86e1c3f
equal deleted inserted replaced
9327:2b768afcaee1 9328:49a0a9cb2505
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)

eric ide

mercurial