From: Robin Wittler Date: Mon, 8 Aug 2011 13:22:17 +0000 (+0200) Subject: make explicit string cast X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e6db8c04d2c2f2588b37c68e8b524e6d05b8381c;p=profitbricks%2Fjenkins-build-scripts.git make explicit string cast --- diff --git a/testgit_build.py b/testgit_build.py index db11768..f908131 100755 --- a/testgit_build.py +++ b/testgit_build.py @@ -157,7 +157,7 @@ def create_dput_cfg(): config = SafeConfigParser() config.add_section('origin') for option, value in DPUT_OPTIONS.iteritems(): - config.set('origin', option, value) + config.set('origin', '%s' %(option), '%s' %(value)) config.write(fh) fh.close() return True