aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-20 15:26:54 -0800
committerZac Medico <zmedico@gentoo.org>2011-12-20 15:26:54 -0800
commit73ae5b670836e389949d085ad394a0b9061caf13 (patch)
treeb806641f68129789beb74b0f76337ec4e336c99b /pym/portage/eclass_cache.py
parentSilently allow missing /var/cache/edb/counter. (diff)
downloadportage-73ae5b670836e389949d085ad394a0b9061caf13.tar.gz
portage-73ae5b670836e389949d085ad394a0b9061caf13.tar.bz2
portage-73ae5b670836e389949d085ad394a0b9061caf13.zip
hashed_path: implement __repr__
Diffstat (limited to 'pym/portage/eclass_cache.py')
-rw-r--r--pym/portage/eclass_cache.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/eclass_cache.py b/pym/portage/eclass_cache.py
index 1044ad021..cb2cf8a98 100644
--- a/pym/portage/eclass_cache.py
+++ b/pym/portage/eclass_cache.py
@@ -49,6 +49,8 @@ class hashed_path(object):
setattr(self, attr, val)
return val
+ def __repr__(self):
+ return "<portage.eclass_cache.hashed_path('%s')>" % (self.location,)
class cache(object):
"""