summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/buildtools.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-09-03 07:27:49 (GMT)
committerGeorg Brandl <georg@python.org>2007-09-03 07:27:49 (GMT)
commitc76473d887c446dd9693f6549a59bff53b4d5ef6 (patch)
tree023b4d4cf56a080655082277f606efacaa0bcf99 /Lib/plat-mac/buildtools.py
parente4ac7504c9fb005d81c710bff40777dc170694a8 (diff)
downloadcpython-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.py3
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()