Fix 'TypeError: not all arguments converted during string formatting'
authorZac Medico <zmedico@gentoo.org>
Mon, 29 Dec 2008 21:23:27 +0000 (21:23 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 29 Dec 2008 21:23:27 +0000 (21:23 -0000)
triggered by repoman -v. Thanks to Javier Villavicencio <the_paya@g.o>
for reporting.

svn path=/main/trunk/; revision=12366

bin/repoman

index b2ae0a81bd6e723c660350add072744844f225cd..a2d7d8bc2ee1c52270108dc42a90d2a0500c9977 100755 (executable)
@@ -1832,8 +1832,8 @@ else:
                print "%s have headers that will change." % green(str(len(myheaders)))
                print "* Files with headers will cause the " + \
                        "manifests to be made and recommited."
-       logging.info("myupdates:", str(myupdates))
-       logging.info("myheaders:", str(myheaders))
+       logging.info("myupdates: %s", myupdates)
+       logging.info("myheaders: %s", myheaders)
 
        commitmessage = options.commitmsg
        if options.commitmsgfile: