From 2960e0d0fc5ad933ca39e0fc338b56da6de9fe52 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 22 Aug 2010 11:41:54 -0700 Subject: [PATCH] Add back _conditionals_class.values() method in order to fix breakage in circular_dependency_handler._find_suggestions(). --- pym/portage/dep/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) 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() -- 2.26.2