From e6db8c04d2c2f2588b37c68e8b524e6d05b8381c Mon Sep 17 00:00:00 2001 From: Robin Wittler Date: Mon, 8 Aug 2011 15:22:17 +0200 Subject: [PATCH] make explicit string cast --- testgit_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5