Fix crash in _ignore_dependency
authorSebastian Luther <SebastianLuther@gmx.de>
Mon, 2 Dec 2013 20:04:27 +0000 (21:04 +0100)
committerBrian Dolbec <dolsen@gentoo.org>
Thu, 5 Dec 2013 15:05:33 +0000 (07:05 -0800)
pym/_emerge/depgraph.py

index cd68db6c79346f8b3d93b91ae5fff3122357d2e6..6600bc22b111c1c7b93481da6e545cf2bd1dda5b 100644 (file)
@@ -2283,6 +2283,7 @@ class depgraph(object):
                        (pkg.root, pkg.slot_atom) in self._dynamic_config._slot_operator_replace_installed and \
                        mypriority.satisfied is not child and \
                        mypriority.satisfied.installed and \
+                       child and \
                        not child.installed and \
                        (child.slot != mypriority.satisfied.slot or child.sub_slot != mypriority.satisfied.sub_slot):
                        slot_operator_rebuild = True