Fix 'TypeError: not all arguments converted during string formatting'
authorZac Medico <zmedico@gentoo.org>
Mon, 12 Jan 2009 08:08:46 +0000 (08:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 12 Jan 2009 08:08:46 +0000 (08:08 -0000)
triggered by repoman -v. Thanks to Javier Villavicencio <the_paya@g.o>
for reporting. (trunk r12366)

svn path=/main/branches/2.1.6/; revision=12437

bin/repoman

index 19f26ec6810563c43c504b6146edd1d666dba72e..1e1bc229a28ef6a6fc56715070b4bc29ff947b48 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: