Commit 9c8fafee authored by Marco Mariani's avatar Marco Mariani Committed by Rafael Monnerat

CLI: avoid empty log message (no envvar removed)

parent 50490d28
......@@ -132,6 +132,7 @@ def getCleanEnvironment(logger, home_path='/tmp'):
changed_env['HOME'] = env['HOME'] = home_path
for k in sorted(changed_env.iterkeys()):
logger.debug('Overridden %s = %r' % (k, changed_env[k]))
if removed_env:
logger.debug('Removed from environment: %s' % ', '.join(sorted(removed_env)))
return env
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment