diff options
Diffstat (limited to 'Lib/plat-mac/bgenlocations.py')
-rw-r--r-- | Lib/plat-mac/bgenlocations.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/plat-mac/bgenlocations.py b/Lib/plat-mac/bgenlocations.py index e7fa354..041a6ff 100644 --- a/Lib/plat-mac/bgenlocations.py +++ b/Lib/plat-mac/bgenlocations.py @@ -40,11 +40,11 @@ except ImportError: pass if not os.path.exists(BGENDIR): - raise Error, "Please fix bgenlocations.py, BGENDIR does not exist: %s" % BGENDIR + raise Error("Please fix bgenlocations.py, BGENDIR does not exist: %s" % BGENDIR) if not os.path.exists(INCLUDEDIR): - raise Error, "Please fix bgenlocations.py, INCLUDEDIR does not exist: %s" % INCLUDEDIR + raise Error("Please fix bgenlocations.py, INCLUDEDIR does not exist: %s" % INCLUDEDIR) if not os.path.exists(TOOLBOXDIR): - raise Error, "Please fix bgenlocations.py, TOOLBOXDIR does not exist: %s" % TOOLBOXDIR + raise Error("Please fix bgenlocations.py, TOOLBOXDIR does not exist: %s" % TOOLBOXDIR) # Sigh, due to the way these are used make sure they end with : or /. if BGENDIR[-1] != os.sep: |