Fix DependencyArg.__str__() to ensure that str type is always returned.
authorZac Medico <zmedico@gentoo.org>
Fri, 19 Dec 2008 02:43:12 +0000 (02:43 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 19 Dec 2008 02:43:12 +0000 (02:43 -0000)
svn path=/main/trunk/; revision=12258

pym/_emerge/__init__.py

index 667d90fbc2db6b6ac5cd9b186b20590548cdcebb..4c978bb310875b57c0f6c37b980716e9780c43c9 100644 (file)
@@ -3810,7 +3810,7 @@ class DependencyArg(object):
                self.root_config = root_config
 
        def __str__(self):
-               return self.arg
+               return str(self.arg)
 
 class AtomArg(DependencyArg):
        def __init__(self, atom=None, **kwargs):