From 80e3d9a9f51fd5d3e8e95191398dcf9f18d89751 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Mon, 4 Jun 2012 15:10:20 +0200 Subject: [PATCH] beautify environment output --- debian_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ) ) -- 2.39.5