Return string from Package.__str__ (Bug 423209)
authorPaul Varner <fuzzyray@gentoo.org>
Tue, 24 Jul 2012 17:16:26 +0000 (12:16 -0500)
committerPaul Varner <fuzzyray@gentoo.org>
Tue, 24 Jul 2012 17:16:26 +0000 (12:16 -0500)
Patch from Brennan Shacklett

pym/gentoolkit/package.py

index 38f2901d10bd082d1c28a642591dbacfcf7de6a5..cbb7131842b367ff464896fe73fedb74a282a611 100644 (file)
@@ -113,7 +113,7 @@ class Package(CPV):
                return key in self.cpv
 
        def __str__(self):
-               return self.cpv
+               return str(self.cpv)
 
        @property
        def metadata(self):