commit | d10a23b9c744a353772d0be89ba5f49a34b5220d | [log] [tgz] |
---|---|---|
author | Sebastian Luther <SebastianLuther@gmx.de> | Mon Mar 24 18:11:33 2014 +0100 |
committer | Sebastian Luther <SebastianLuther@gmx.de> | Mon Mar 24 18:11:33 2014 +0100 |
tree | 2590d5da882fabf90286702d46a438075fd6c6c1 | |
parent | e03499b7466bc053bc31ced89e4a890f516be7a3 [diff] |
Fix bug in _remove_pkg logic (bug 505422)
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 04d7aae..f27e855 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py
@@ -2431,7 +2431,8 @@ self._dynamic_config._blocked_world_pkgs.pop(pkg, None) for child in children: - if not self._dynamic_config.digraph.parent_nodes(child): + if child in self._dynamic_config.digraph and \ + not self._dynamic_config.digraph.parent_nodes(child): self._remove_pkg(child) # Clear caches.