Use distutils.debug.DEBUG instead of distutils.core.DEBUG.

Note that distutils.core.DEBUG still works if client code uses it, but
the core code avoids circular references by using distutils.debug.
This commit is contained in:
Jeremy Hylton 2002-09-11 16:31:53 +00:00
parent 5f6228ed46
commit fcd7353863
7 changed files with 9 additions and 11 deletions

View file

@ -923,7 +923,7 @@ class CCompiler:
log.debug(msg)
def debug_print (self, msg):
from distutils.core import DEBUG
from distutils.debug import DEBUG
if DEBUG:
print msg