diff options
author | Georg Brandl <georg@python.org> | 2007-09-03 07:27:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-03 07:27:49 (GMT) |
commit | c76473d887c446dd9693f6549a59bff53b4d5ef6 (patch) | |
tree | 023b4d4cf56a080655082277f606efacaa0bcf99 /Lib/plat-mac/buildtools.py | |
parent | e4ac7504c9fb005d81c710bff40777dc170694a8 (diff) | |
download | cpython-c76473d887c446dd9693f6549a59bff53b4d5ef6.zip cpython-c76473d887c446dd9693f6549a59bff53b4d5ef6.tar.gz cpython-c76473d887c446dd9693f6549a59bff53b4d5ef6.tar.bz2 |
Fix Mac build, patch #1091 by Humberto Diogenes.
Diffstat (limited to 'Lib/plat-mac/buildtools.py')
-rw-r--r-- | Lib/plat-mac/buildtools.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/plat-mac/buildtools.py b/Lib/plat-mac/buildtools.py index 2422612..1545014 100644 --- a/Lib/plat-mac/buildtools.py +++ b/Lib/plat-mac/buildtools.py @@ -17,7 +17,8 @@ import warnings warnings.warn("the buildtools module is deprecated", DeprecationWarning, 2) -BuildError = "BuildError" +class BuildError(Exception): + pass # .pyc file (and 'PYC ' resource magic number) MAGIC = imp.get_magic() |