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.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index e04f861b5..a150f4a00 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -2083,7 +2083,11 @@ class dblink(object):
self._preserve_libs(srcroot, destroot, myfilelist+mylinklist, counter, inforoot)
# check for package collisions
- blockers = self._blockers
+ blockers = None
+ if self._blockers is not None:
+ # This is only supposed to be called when
+ # the vdb is locked, like it is here.
+ blockers = self._blockers()
if blockers is None:
blockers = []
collisions = self._collision_protect(srcroot, destroot,