]> granicus.if.org Git - python/commitdiff
Fix wrong use of root logger in packaging (also a NameError)
authorÉric Araujo <merwok@netwok.org>
Thu, 4 Aug 2011 15:17:07 +0000 (17:17 +0200)
committerÉric Araujo <merwok@netwok.org>
Thu, 4 Aug 2011 15:17:07 +0000 (17:17 +0200)
Lib/packaging/util.py

index 5637e80a966e8b50ca5b786944fbd059af0a68ac..f94be5df24c6012818f5f6dfe05364ed4f14d00f 100644 (file)
@@ -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