summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-04 15:17:07 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-04 15:17:07 (GMT)
commit29f6297605fba9f7313b2aeaf2ddbb06653cfdbb (patch)
tree3d0ad17b27589d2eae8fe1abe8833f5fd0beece4
parent2ef905d449f6cde2c3fd4e0288a5808bc28f0aba (diff)
downloadcpython-29f6297605fba9f7313b2aeaf2ddbb06653cfdbb.zip
cpython-29f6297605fba9f7313b2aeaf2ddbb06653cfdbb.tar.gz
cpython-29f6297605fba9f7313b2aeaf2ddbb06653cfdbb.tar.bz2
Fix wrong use of root logger in packaging (also a NameError)
-rw-r--r--Lib/packaging/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/util.py b/Lib/packaging/util.py
index 5637e80..f94be5d 100644
--- a/Lib/packaging/util.py
+++ b/Lib/packaging/util.py
@@ -782,7 +782,7 @@ def spawn(cmd, search_path=True, verbose=0, dry_run=False, env=None):
"""
logger.debug('spawn: running %r', cmd)
if dry_run:
- logging.debug('dry run, no process actually spawned')
+ logger.debug('dry run, no process actually spawned')
return
if sys.platform == 'darwin':
global _cfg_target, _cfg_target_split