summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-19 22:26:40 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-19 22:26:40 +0000
commit1fe3e59f61306840ddea1e3e0274fca6f047c0f5 (patch)
tree9619bd2a4a4dd896bebebfef8b51a54edeb62093
parent72fecf93d17c0cd0f8790edfbe52cd90e2f4c427 (diff)
downloadportage-1fe3e59f61306840ddea1e3e0274fca6f047c0f5.tar.gz
portage-1fe3e59f61306840ddea1e3e0274fca6f047c0f5.tar.bz2
portage-1fe3e59f61306840ddea1e3e0274fca6f047c0f5.zip
Make binarytree.move_ent() properly update PF.
svn path=/main/trunk/; revision=5326
-rw-r--r--pym/portage.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index af6607722..325b718cb 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5829,6 +5829,7 @@ class binarytree(packagetree):
if mynewpkg != myoldpkg:
mydata[mynewpkg+".ebuild"] = mydata[myoldpkg+".ebuild"]
del mydata[myoldpkg+".ebuild"]
+ mydata["PF"] = mynewpkg + "\n"
mytbz2.recompose_mem(xpak.xpak_mem(mydata))
self.dbapi.cpv_remove(mycpv)