summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-13 05:53:07 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-13 05:53:07 +0000
commit7e3e4f155bfe04f91de9d02689bf0b6478df3c80 (patch)
tree43576b46bb3ed39bef4b9c195afb608cb38be120
parentd5248c7ce0a5533d05f7c32505b766f9028792bf (diff)
downloadportage-7e3e4f155bfe04f91de9d02689bf0b6478df3c80.tar.gz
portage-7e3e4f155bfe04f91de9d02689bf0b6478df3c80.tar.bz2
portage-7e3e4f155bfe04f91de9d02689bf0b6478df3c80.zip
Fix dblink.isowner() so it works properly when ROOT!=/.
svn path=/main/trunk/; revision=6827
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index a8364e1d1..5e91adebc 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -1280,7 +1280,7 @@ class dblink(object):
return True
pkgfiles = self.getcontents()
- if pkgfiles and filename in pkgfiles:
+ if pkgfiles and destfile in pkgfiles:
return True
if pkgfiles:
if self._contents_inodes is None: