Replace an package tuple with a real Package instance.
authorZac Medico <zmedico@gentoo.org>
Mon, 31 Mar 2008 17:11:47 +0000 (17:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 31 Mar 2008 17:11:47 +0000 (17:11 -0000)
svn path=/main/trunk/; revision=9644

pym/_emerge/__init__.py

index f29ee509ec9ba6a8d8f093e6a79bd833f21cfa96..b456ff0985c7c7ef96fe196ff50b2332fa060d4b 100644 (file)
@@ -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