From e26ac28af7a6dc4cff2bf00737841d14dea669a5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 1 Jul 2012 01:11:12 -0700 Subject: Fix bugs in binarytree.invalids usage. --- pym/portage/dbapi/vartree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/portage/dbapi/vartree.py') diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 0d7327ad4..e5e119536 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -4727,7 +4727,7 @@ class dblink(object): bintree = trees["bintree"] binpkg_path = bintree.getname(backup_dblink.mycpv) if os.path.exists(binpkg_path) and \ - backup_dblink.mycpv not in bintree.invalids: + catsplit(backup_dblink.mycpv)[1] not in bintree.invalids: return os.EX_OK self.lockdb() -- cgit v1.2.3-1-g7c22