diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-09-24 12:22:36 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-09-24 12:22:36 +0100 |
commit | c754d0366d4557910775bfa83c85ffdf98af0610 (patch) | |
tree | d508cd444f4f5de7399bd244a7e71985820dc9e0 /morphlib/util.py | |
parent | 1f76a895f5bc61e433c64e86ac17e9426cc4d5b8 (diff) | |
parent | 69e12a2ed58deff50986ee56d8a0737376531254 (diff) | |
download | morph-c754d0366d4557910775bfa83c85ffdf98af0610.tar.gz |
Merge branch 'richardmaw/env-logging-fix'
Reviewed-By: Pedro Alvarez <pedro.alvarez@codethink.co.uk>
Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk>
Diffstat (limited to 'morphlib/util.py')
-rw-r--r-- | morphlib/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/util.py b/morphlib/util.py index ae1df56a..dc3dd474 100644 --- a/morphlib/util.py +++ b/morphlib/util.py @@ -228,8 +228,8 @@ def log_environment_changes(app, current_env, previous_env): # pragma: no cover value_msg = '(value hidden)' else: value_msg = '= "%s"' % value - msg = '%s environment variable %s %s' % (event, key, value_msg) - app.status(msg=msg, chatty=True) + app.status(msg='%(event)s environment variable %(key)s %(value)s', + event=event, key=key, value=value_msg, chatty=True) for key in current_env.keys(): if key not in previous_env: |