projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a729e9c
)
removeFromContents: don't use EROOT
author
Fabian Groffen
<grobian@gentoo.org>
Wed, 15 Dec 2010 17:58:45 +0000
(18:58 +0100)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 16 Dec 2010 08:59:17 +0000
(
00:59
-0800)
Fix bug #348790, make sure that CONTENTS entries keep their EPREFIX, by
using ROOT, instead of EROOT.
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 204d45b5d5ef78f5974738743b7c4a0e715f6a2e..863fa19a664d27293b1ec9ffa709b2ac4fb63984 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-771,7
+771,7
@@
class vardbapi(dbapi):
"""
if not hasattr(pkg, "getcontents"):
pkg = self._dblink(pkg)
- root = self.
_eroot
+ root = self.
settings['ROOT']
root_len = len(root) - 1
new_contents = pkg.getcontents().copy()
removed = 0