From: Mathias Klette Date: Mon, 4 Jun 2012 13:10:20 +0000 (+0200) Subject: beautify environment output X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=80e3d9a9f51fd5d3e8e95191398dcf9f18d89751;p=profitbricks%2Fjenkins-build-scripts.git beautify environment output --- diff --git a/debian_build.py b/debian_build.py index 008ba15..e113a85 100755 --- a/debian_build.py +++ b/debian_build.py @@ -217,11 +217,11 @@ if __name__ == '__main__': logger.debug('Called in: %s' % os.getcwd()) logger.debug('Called with: %s' % " ".join(sys.argv)) logger.debug( - 'Environment: export %s' + 'Environment: export \\\n%s' %( ' '.join( map( - lambda x: '%s="%s"' %(x[0], x[1]), + lambda x: ' %s="%s" \\' %(x[0], x[1]), os.environ.iteritems() ) )