[Python-checkins] cpython: Fix wrong use of root logger in packaging (also a NameError)

eric.araujo python-checkins at python.org
Fri Aug 5 17:48:43 CEST 2011


http://hg.python.org/cpython/rev/0c1c9bb590a9
changeset:   71748:0c1c9bb590a9
user:        Éric Araujo <merwok at netwok.org>
date:        Thu Aug 04 17:17:07 2011 +0200
summary:
  Fix wrong use of root logger in packaging (also a NameError)

files:
  Lib/packaging/util.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/packaging/util.py b/Lib/packaging/util.py
--- a/Lib/packaging/util.py
+++ b/Lib/packaging/util.py
@@ -782,7 +782,7 @@
     """
     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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list