From: Zac Medico Date: Mon, 31 Mar 2008 17:11:47 +0000 (-0000) Subject: Replace an package tuple with a real Package instance. X-Git-Tag: v2.2_pre6~288 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=02645e59fc058b74c35cc9409368a10ed64e18aa;p=portage.git Replace an package tuple with a real Package instance. svn path=/main/trunk/; revision=9644 --- 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