summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-31 17:11:47 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-31 17:11:47 +0000
commit02645e59fc058b74c35cc9409368a10ed64e18aa (patch)
tree0e7f9f7e2217f86b419437b8455ca3a6e7f2b5ad
parentd5ca59572cbd17651aa7122d87fb0684bfc9261b (diff)
downloadportage-02645e59fc058b74c35cc9409368a10ed64e18aa.tar.gz
portage-02645e59fc058b74c35cc9409368a10ed64e18aa.tar.bz2
portage-02645e59fc058b74c35cc9409368a10ed64e18aa.zip
Replace an package tuple with a real Package instance.
svn path=/main/trunk/; revision=9644
-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