From d5adda3530a7afb5de1d2d8d53b1c257522dd1ff Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 2 Nov 2011 18:36:12 +0100 Subject: [PATCH] more stripping --- debian_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian_build.py b/debian_build.py index 963b511..5ff5b92 100755 --- a/debian_build.py +++ b/debian_build.py @@ -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( -- 2.39.5