From 86ee129e6cc250ee85b7e2cd510d170b8c64d66b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 2 Nov 2011 18:38:33 +0100 Subject: [PATCH] good stripping is difficult --- debian_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5