summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dep/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py
index 4b6c2d0b0..678a6271d 100644
--- a/pym/portage/dep/__init__.py
+++ b/pym/portage/dep/__init__.py
@@ -981,8 +981,15 @@ class ExtendedAtomDict(portage.cache.mappings.MutableMapping):
for k in self._extended:
yield k
+ def iteritems(self):
+ for item in self._normal.items():
+ yield item
+ for item in self._extended.items():
+ yield item
+
if sys.hexversion >= 0x3000000:
keys = __iter__
+ items = iteritems
def __len__(self):
return len(self._normal) + len(self._extended)