summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-06 17:04:34 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-06 17:04:34 -0700
commitf99ec8bbfeaea6548aff2d5628262fc12984a6ca (patch)
tree5d0d64d188fd67aa7d410a4191a5a5cc2fa56a4e
parentf5e237f6489f232ec5ada8566e4c35618e9e6d13 (diff)
downloadportage-f99ec8bbfeaea6548aff2d5628262fc12984a6ca.tar.gz
portage-f99ec8bbfeaea6548aff2d5628262fc12984a6ca.tar.bz2
portage-f99ec8bbfeaea6548aff2d5628262fc12984a6ca.zip
Allow repo since parents can be sets or args.
-rw-r--r--pym/_emerge/depgraph.py5
1 files 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