]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debian_build: fix map
authorMathias Klette <mathias.klette@profitbricks.com>
Wed, 5 Jun 2013 18:17:23 +0000 (20:17 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Wed, 5 Jun 2013 18:17:23 +0000 (20:17 +0200)
debian_build.py

index f1a3c8353e6bfd7e8ed6f0e1866433b38e56b7ed..5846c06f9855002239631dc32c4b9ec4543e3dec 100755 (executable)
@@ -463,7 +463,9 @@ if __name__ == '__main__':
             hostname=socket.gethostname(),
             jenkins_user=ENV['USER'],
             jenkins_workspace=ENV['WORKSPACE'],
-            gbp_env=' '.join(['{k}="{v}"'.format(k=i,v=e[i]) for i in gbp.env.keys()]),
+            gbp_env=' '.join(['{k}="{v}"'.format(k=key, v=gbp.env[key],) 
+                              for key in gbp.env.keys()
+                            ]),
             command=' '.join(gbp.command),
         ))
         figlet('Build failed')