]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
more stripping
authorHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 17:36:12 +0000 (18:36 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 17:36:12 +0000 (18:36 +0100)
debian_build.py

index 963b511fda1a0dd61e2cec4463c72adfab83fd8b..5ff5b92281e7d065381890023db125e9946c266d 100755 (executable)
@@ -500,10 +500,10 @@ if __name__ == '__main__':
             fh = open(FLAVOURS_FILE, 'r')
 
 
-            for flavour in fh.readlines():
+            for flavour in fh.readlines().strip():
                 LINUX_FLAVOUR_REPO_PATH = '/srv/git/r+i/linux-%s.git' % flavour
                 urlencode_expansion_dict = {
-                   'flavour': 'linux-%s'.strip() % flavour
+                   'flavour': 'linux-%s' % flavour
                 }
                 url = HudsonUrl()
                 data = urllib.urlencode(