]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
morebah
authorHolger Levsen <holger@layer-acht.org>
Wed, 28 Sep 2011 14:42:08 +0000 (16:42 +0200)
committerHolger Levsen <holger@layer-acht.org>
Wed, 28 Sep 2011 14:42:08 +0000 (16:42 +0200)
debian_build.py

index 7111abf842c44bcf22bc14a742eec99c7c8d87e2..289721691798146b8331007e243849257f15ad20 100755 (executable)
@@ -358,8 +358,8 @@ if __name__ == '__main__':
         exit_error()
 
     pkg_name = grep_dctrl.stdout.readline()
-    pkg_name = version.strip()
-    logger.info('Source package name is %s' % (version))
+    pkg_name = pkg_name.strip()
+    logger.info('Source package name is %s' % (pkg_name))
 
     version = grep_dctrl.stdout.readline()
     version = version.strip()