summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index f29ee509e..b456ff098 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2738,8 +2738,7 @@ class depgraph(object):
built=built, installed=installed,
onlydeps=onlydeps))
if reinstall_for_flags:
- pkg_node = (pkg_type, root, cpv, "merge")
- self._reinstall_nodes[pkg_node] = \
+ self._reinstall_nodes[matched_packages[-1]] = \
reinstall_for_flags
break