Optimize out a common element for an early return.
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 622d288..343cc03 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2276,10 +2276,11 @@
Don't ignore dependencies if pkg has a slot operator dependency on the child
and the child has changed slot/sub_slot.
"""
+ if not mypriority.satisfied:
+ return False
slot_operator_rebuild = False
if atom.slot_operator == '=' and \
(pkg.root, pkg.slot_atom) in self._dynamic_config._slot_operator_replace_installed and \
- mypriority.satisfied and \
mypriority.satisfied is not child and \
mypriority.satisfied.installed and \
not child.installed and \
@@ -2288,7 +2289,6 @@
return not atom.blocker and \
not recurse_satisfied and \
- mypriority.satisfied and \
mypriority.satisfied.visible and \
dep.child is not None and \
not dep.child.installed and \