]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
make explicit string cast
authorRobin Wittler <robin.wittler@profitbricks.com>
Mon, 8 Aug 2011 13:22:17 +0000 (15:22 +0200)
committerRobin Wittler <robin.wittler@profitbricks.com>
Mon, 8 Aug 2011 13:22:17 +0000 (15:22 +0200)
testgit_build.py

index db1176867c6d8a3cc14825f75000d20e654183c1..f9081310064960960b540a8baa94eb7e536d9a7a 100755 (executable)
@@ -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