summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index d83f8a893..7e55c776e 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -1307,7 +1307,7 @@ class depgraph(object):
if not self._add_dep(dep,
allow_unsatisfied=allow_unsatisfied):
return 0
- if is_virt:
+ if is_virt and dep.child is not None:
traversed_virt_pkgs.add(dep.child)
selected_atoms.pop(pkg)
@@ -1389,7 +1389,7 @@ class depgraph(object):
if not self._add_dep(dep,
allow_unsatisfied=allow_unsatisfied):
return 0
- if is_virt:
+ if is_virt and dep.child is not None:
traversed_virt_pkgs.add(dep.child)
if debug: