projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7b0e36
)
ExtendedAtomDict: fix for python-trace
author
Zac Medico
<zmedico@gentoo.org>
Tue, 10 Jan 2012 18:41:29 +0000
(10:41 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 10 Jan 2012 18:41:29 +0000
(10:41 -0800)
pym/portage/dep/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep/__init__.py
b/pym/portage/dep/__init__.py
index 154b8a23e05deb6b7ca9569345a5fb2ccd6cff96..72411b7c7938dbbf7d4cfe98b9c9cd169094d640 100644
(file)
--- a/
pym/portage/dep/__init__.py
+++ b/
pym/portage/dep/__init__.py
@@
-1376,10
+1376,13
@@
class ExtendedAtomDict(portage.cache.mappings.MutableMapping):
yield k
def iteritems(self):
- for item in self._normal.items():
- yield item
- for item in self._extended.items():
- yield item
+ try:
+ for item in self._normal.items():
+ yield item
+ for item in self._extended.items():
+ yield item
+ except AttributeError:
+ pass # FEATURES=python-trace
def __delitem__(self, cp):
if "*" in cp: