summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/cache/mappings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/cache/mappings.py b/pym/portage/cache/mappings.py
index 67f6dfcc6..0ef5c3ac6 100644
--- a/pym/portage/cache/mappings.py
+++ b/pym/portage/cache/mappings.py
@@ -497,6 +497,9 @@ def slot_dict_class(keys, prefix="_val_"):
def __str__(self):
return str(dict(self.iteritems()))
+ def __repr__(self):
+ return repr(dict(self.iteritems()))
+
if sys.hexversion >= 0x3000000:
items = iteritems
keys = __iter__