summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/cache/mappings.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/portage/cache/mappings.py b/pym/portage/cache/mappings.py
index 69e37fa15..ed1b04261 100644
--- a/pym/portage/cache/mappings.py
+++ b/pym/portage/cache/mappings.py
@@ -52,10 +52,10 @@ class Mapping(object):
yield v
def values(self):
- return [v for _, v in self.items()]
+ return [v for _, v in self.iteritems()]
def items(self):
- return list(self.items())
+ return list(self.iteritems())
def get(self, key, default=None):
try:
@@ -353,14 +353,14 @@ def slot_dict_class(keys, prefix="_val_"):
pass
def items(self):
- return list(self.items())
+ return list(self.iteritems())
def itervalues(self):
for k, v in self.items():
yield v
def values(self):
- return list(self.values())
+ return list(self.itervalues())
def __delitem__(self, k):
try: