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

index 8aef69d554193f9ed5687eb8f5cb77205759eb8c..f1a3c8353e6bfd7e8ed6f0e1866433b38e56b7ed 100755 (executable)
@@ -463,7 +463,7 @@ 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.keys()]),
+            gbp_env=' '.join(['{k}="{v}"'.format(k=i,v=e[i]) for i in gbp.env.keys()]),
             command=' '.join(gbp.command),
         ))
         figlet('Build failed')