diff options
-rw-r--r-- | pym/portage/dep/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
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() |