summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-04-17 15:26:30 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-04-18 18:29:25 +0100
commit5b951ecb84546f3cfbe38eb559179a5fbc88395e (patch)
treec1f75ae36682412e7394f47f3cec7bb15b02a900
parent214c3f223c889199ae783e1cab555c09fcd64b4d (diff)
downloadmorph-5b951ecb84546f3cfbe38eb559179a5fbc88395e.tar.gz
Log the actual environment variables used when running
-rw-r--r--morphlib/execute.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/execute.py b/morphlib/execute.py
index fdb9c1c5..fe4deb00 100644
--- a/morphlib/execute.py
+++ b/morphlib/execute.py
@@ -91,7 +91,7 @@ class Execute(object):
kwargs['env'] = self.env
logging.debug('runv: argv=%s' % repr(argv))
- logging.debug('runv: env=%s' % repr(self.env))
+ logging.debug('runv: env=%s' % repr(kwargs['env']))
logging.debug('runv: cwd=%s' % repr(self.dirname))
self.msg('# %s' % ' '.join(argv))
p = subprocess.Popen(argv, **kwargs)