projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa02508
)
Add back _conditionals_class.values() method in order to fix breakage
author
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Aug 2010 18:41:54 +0000
(11:41 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Aug 2010 18:41:54 +0000
(11:41 -0700)
in circular_dependency_handler._find_suggestions().
pym/portage/dep/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep/__init__.py
b/pym/portage/dep/__init__.py
index 979f2c9fbd999fb11a138a56618f5e04ca97183a..5813009ac7ca1b951054f196aeb92803a4b773bb 100644
(file)
--- a/
pym/portage/dep/__init__.py
+++ b/
pym/portage/dep/__init__.py
@@
-566,6
+566,11
@@
class _use_dep(object):
class _conditionals_class(object):
__slots__ = ("enabled", "disabled", "equal", "not_equal")
+ def values(self):
+ for k in self.__slots__:
+ v = getattr(self, k, None)
+ if v:
+ yield v
def __init__(self, use):
enabled_flags = set()