summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/cmd.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-09-11 16:31:53 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-09-11 16:31:53 (GMT)
commitfcd7353863c024bb87aabe7c4639ca8df692ac85 (patch)
tree8e25bd5d72391ff8ab8be6f6e381a1f356c8b901 /Lib/distutils/cmd.py
parent5f6228ed461987709c75dd3ebd253beb412ed457 (diff)
downloadcpython-fcd7353863c024bb87aabe7c4639ca8df692ac85.zip
cpython-fcd7353863c024bb87aabe7c4639ca8df692ac85.tar.gz
cpython-fcd7353863c024bb87aabe7c4639ca8df692ac85.tar.bz2
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.
Diffstat (limited to 'Lib/distutils/cmd.py')
-rw-r--r--Lib/distutils/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py
index 25ff302..6a26818 100644
--- a/Lib/distutils/cmd.py
+++ b/Lib/distutils/cmd.py
@@ -198,7 +198,7 @@ class Command:
"""Print 'msg' to stdout if the global DEBUG (taken from the
DISTUTILS_DEBUG environment variable) flag is true.
"""
- from distutils.core import DEBUG
+ from distutils.debug import DEBUG
if DEBUG:
print msg
sys.stdout.flush()