From: Holger Levsen Date: Wed, 2 Nov 2011 17:36:12 +0000 (+0100) Subject: more stripping X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=d5adda3530a7afb5de1d2d8d53b1c257522dd1ff;p=profitbricks%2Fjenkins-build-scripts.git more stripping --- 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(