From fcd7353863c024bb87aabe7c4639ca8df692ac85 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Wed, 11 Sep 2002 16:31:53 +0000 Subject: 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. --- Lib/distutils/cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/distutils/cmd.py') diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index 25ff3025b6..6a268184c0 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() -- cgit v1.2.1