From a16926704d1cf2dbf6af593787a7a79b5a7b8742 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 13 Jun 2007 05:53:34 +0000 Subject: Fix dblink.isowner() so it works properly when ROOT!=/. (trunk r6827) svn path=/main/branches/2.1.2/; revision=6828 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index 73beaabb0..260ec5f7e 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -7296,7 +7296,7 @@ class dblink: 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: -- cgit v1.2.3-1-g7c22