From f3030774f447a87ac433807e4cc496643be32b9d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 30 Jul 2007 04:03:08 +0000 Subject: [PATCH] Fix dblink.isowner() so it works properly when ROOT!=/. (branches/2.1.2 r6828) svn path=/main/branches/2.1.2.9/; revision=7462 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index d75ebecc4..64c2eecbd 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -7242,7 +7242,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: -- 2.26.2