mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
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:
parent
5f6228ed46
commit
fcd7353863
7 changed files with 9 additions and 11 deletions
|
@ -54,7 +54,7 @@ class FileList:
|
|||
"""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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue