From: Holger Levsen Date: Wed, 2 Nov 2011 17:38:33 +0000 (+0100) Subject: good stripping is difficult X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=86ee129e6cc250ee85b7e2cd510d170b8c64d66b;p=profitbricks%2Fjenkins-build-scripts.git good stripping is difficult --- diff --git a/debian_build.py b/debian_build.py index 5ff5b92..cb6c669 100755 --- a/debian_build.py +++ b/debian_build.py @@ -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