repoman: add opts and repo config debug output
authorZac Medico <zmedico@gentoo.org>
Thu, 27 Oct 2011 05:55:42 +0000 (22:55 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 27 Oct 2011 05:55:42 +0000 (22:55 -0700)
pym/portage/repository/config.py

index ab679f6fbed926665707e47ecdd18ca14ad973a9..07969ccb4cce513ec51db5bf287958f9ff32b2aa 100644 (file)
@@ -239,7 +239,7 @@ class RepoConfig(object):
                d = {}
                for k in self.__slots__:
                        d[k] = getattr(self, k, None)
-               return _unicode_decode(str(d))
+               return _unicode_decode("%s") % (d,)
 
        if sys.hexversion < 0x3000000: