--- a/scripts/patch_modpython.py Sat Nov 21 19:31:16 2020 +0100 +++ b/scripts/patch_modpython.py Sun Nov 22 16:04:59 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)