From f99ec8bbfeaea6548aff2d5628262fc12984a6ca Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 6 Oct 2010 17:04:34 -0700 Subject: [PATCH] Allow repo since parents can be sets or args. --- pym/_emerge/depgraph.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index a71c39e1b..efcb201ae 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -899,8 +899,9 @@ class depgraph(object): all_parents.update(parent_atoms) all_match = True - for ppkg, atom in parent_atoms: - i = InternalPackageSet(initial_atoms=(atom,)) + for parent, atom in parent_atoms: + i = InternalPackageSet(initial_atoms=(atom,), + allow_repo=True) if not i.findAtomForPackage(to_be_masked): all_match = False break -- 2.26.2