Commit e32934ef authored by Greg Ward's avatar Greg Ward

Import exceptions from errors.py, not ccompiler.py.

parent a4ff67e1
...@@ -12,11 +12,11 @@ __revision__ = "$Id$" ...@@ -12,11 +12,11 @@ __revision__ = "$Id$"
import sys, os, string import sys, os, string
from types import * from types import *
from distutils.errors import * from distutils.errors import \
from distutils.ccompiler import \ DistutilsExecError, DistutilsPlatformError, \
CCompiler, gen_preprocess_options, gen_lib_options, \
CompileError, LibError, LinkError CompileError, LibError, LinkError
from distutils.ccompiler import \
CCompiler, gen_preprocess_options, gen_lib_options
_can_read_reg = 0 _can_read_reg = 0
try: try:
......
...@@ -22,9 +22,9 @@ from types import * ...@@ -22,9 +22,9 @@ from types import *
from copy import copy from copy import copy
from distutils import sysconfig from distutils import sysconfig
from distutils.ccompiler import \ from distutils.ccompiler import \
CCompiler, gen_preprocess_options, gen_lib_options, \ CCompiler, gen_preprocess_options, gen_lib_options
CompileError, LibError, LinkError from distutils.errors import \
from distutils.errors import DistutilsExecError DistutilsExecError, CompileError, LibError, LinkError
# XXX Things not currently handled: # XXX Things not currently handled:
# * optimization/debug/warning flags; we just use whatever's in Python's # * optimization/debug/warning flags; we just use whatever's in Python's
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment