summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi/vartree.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/dbapi/vartree.py')
-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 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()