From 391f40a6e2f3b384ebe4c07312b18829880ecc20 Mon Sep 17 00:00:00 2001 From: Paul Varner Date: Tue, 24 Jul 2012 12:16:26 -0500 Subject: [PATCH] Return string from Package.__str__ (Bug 423209) Patch from Brennan Shacklett --- pym/gentoolkit/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py index 38f2901..cbb7131 100644 --- a/pym/gentoolkit/package.py +++ b/pym/gentoolkit/package.py @@ -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): -- 2.26.2