summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-12-19 02:43:12 +0000
committerZac Medico <zmedico@gentoo.org>2008-12-19 02:43:12 +0000
commit6c854d104004077d6266ca3a18113a08cb8adb22 (patch)
tree03d87a0dfba76bfd56a4e5ee380a41c5a7ce94c8
parentb8fe6ca6954ffd2c7a85c9f3046cf176b09bc9d7 (diff)
downloadportage-6c854d104004077d6266ca3a18113a08cb8adb22.tar.gz
portage-6c854d104004077d6266ca3a18113a08cb8adb22.tar.bz2
portage-6c854d104004077d6266ca3a18113a08cb8adb22.zip
Fix DependencyArg.__str__() to ensure that str type is always returned.
svn path=/main/trunk/; revision=12258
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 667d90fbc..4c978bb31 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -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):