scripts/patch_modpython.py

branch
maintenance
changeset 7850
e64b178499da
parent 7836
2f0d208b8137
child 7923
91e843545d9a
equal deleted inserted replaced
7825:3e7d767119a9 7850:e64b178499da
82 82
83 try: 83 try:
84 filename = os.path.join(modDir, "apache.py") 84 filename = os.path.join(modDir, "apache.py")
85 with open(filename, "r", encoding="utf-8") as f: 85 with open(filename, "r", encoding="utf-8") as f:
86 lines = f.readlines() 86 lines = f.readlines()
87 except EnvironmentError: 87 except OSError:
88 print("The file {0} does not exist. Aborting.".format(filename)) 88 print("The file {0} does not exist. Aborting.".format(filename))
89 sys.exit(1) 89 sys.exit(1)
90 90
91 pdbFound = False 91 pdbFound = False
92 ericFound = False 92 ericFound = False

eric ide

mercurial