From: Zac Medico Date: Thu, 7 Oct 2010 00:04:34 +0000 (-0700) Subject: Allow repo since parents can be sets or args. X-Git-Tag: v2.2_rc91~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f99ec8bbfeaea6548aff2d5628262fc12984a6ca;p=portage.git Allow repo since parents can be sets or args. --- 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