Fix Mac build, patch #1091 by Humberto Diogenes.

This commit is contained in:
Georg Brandl 2007-09-03 07:27:49 +00:00
parent e4ac7504c9
commit c76473d887
8 changed files with 18 additions and 16 deletions

View file

@ -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()