commit | c76473d887c446dd9693f6549a59bff53b4d5ef6 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Mon Sep 03 07:27:49 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Mon Sep 03 07:27:49 2007 +0000 |
tree | 023b4d4cf56a080655082277f606efacaa0bcf99 | |
parent | e4ac7504c9fb005d81c710bff40777dc170694a8 [diff] [blame] |
Fix Mac build, patch #1091 by Humberto Diogenes.
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 @@ 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()