From: Zac Medico Date: Sun, 22 Aug 2010 18:41:54 +0000 (-0700) Subject: Add back _conditionals_class.values() method in order to fix breakage X-Git-Tag: v2.2_rc68~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2960e0d0fc5ad933ca39e0fc338b56da6de9fe52;p=portage.git Add back _conditionals_class.values() method in order to fix breakage in circular_dependency_handler._find_suggestions(). --- diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py index 979f2c9fb..5813009ac 100644 --- 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()