diff options
Diffstat (limited to 'pym/_emerge/depgraph.py')
-rw-r--r-- | pym/_emerge/depgraph.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 271d4bfbd..7f471170a 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -1326,7 +1326,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) @@ -1408,7 +1408,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: |