Fix wrong use of root logger in packaging (also a NameError)

This commit is contained in:
Éric Araujo 2011-08-04 17:17:07 +02:00
parent 2ef905d449
commit 29f6297605
1 changed files with 1 additions and 1 deletions

View 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