summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 9d415c7e1..5bc4275fa 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2223,6 +2223,8 @@ class depgraph(object):
if len(matched_packages) > 1:
if avoid_update:
+ if existing_node is not None:
+ return existing_node, existing_node
for pkg in matched_packages:
if pkg.installed:
return pkg, existing_node