scripts/patch_modpython.py

branch
maintenance
changeset 7850
e64b178499da
parent 7836
2f0d208b8137
child 7923
91e843545d9a
diff -r 3e7d767119a9 -r e64b178499da scripts/patch_modpython.py
--- a/scripts/patch_modpython.py	Sun Nov 01 11:17:06 2020 +0100
+++ b/scripts/patch_modpython.py	Sat Dec 05 12:29:26 2020 +0100
@@ -84,7 +84,7 @@
         filename = os.path.join(modDir, "apache.py")
         with open(filename, "r", encoding="utf-8") as f:
             lines = f.readlines()
-    except EnvironmentError:
+    except OSError:
         print("The file {0} does not exist. Aborting.".format(filename))
         sys.exit(1)
     

eric ide

mercurial