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

index 5ff5b92281e7d065381890023db125e9946c266d..cb6c6695a1317e0a0ff55b726513038568dbf955 100755 (executable)
@@ -500,7 +500,8 @@ if __name__ == '__main__':
             fh = open(FLAVOURS_FILE, 'r')
 
 
-            for flavour in fh.readlines().strip():
+            for flavour in fh.readlines():
+                flavour=flavour.strip()
                 LINUX_FLAVOUR_REPO_PATH = '/srv/git/r+i/linux-%s.git' % flavour
                 urlencode_expansion_dict = {
                    'flavour': 'linux-%s' % flavour