From: Mathias Klette Date: Thu, 15 Sep 2011 19:09:22 +0000 (+0200) Subject: make it copy&pastable X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=bf3e1a59ee0d0cbec6dde954e5234277c430c3be;p=profitbricks%2Fjenkins-build-scripts.git make it copy&pastable --- diff --git a/lib/git_buildpackage.py b/lib/git_buildpackage.py index 549801c..9921c7e 100644 --- a/lib/git_buildpackage.py +++ b/lib/git_buildpackage.py @@ -38,8 +38,16 @@ class GitBuildPackage(object): env['PB_SUITE'] = self.pb_suite logger.debug( - 'Trying to call "%s" with enviroment "%s"' - %(' '.join(cmd), env) + 'Trying to call "%s" with environment export %s' + %( + ' '.join(cmd), + ' '.join( + map( + lambda x: '%s="%s"' %(x[0], x[1]), + env.iteritems() + ) + ) + ) ) cmdobj = subprocess.Popen(