summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 4a6a58342..ed08dbfd6 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -1219,7 +1219,7 @@ class dblink(object):
elif len(consumers.difference(contents)) == 0:
otherlibs = set(otherlibs)
for ol in otherlibs.intersection(consumers):
- if has_external_consumers(ol, contents, otherlibs.copy().remove(lib)):
+ if has_external_consumers(ol, contents, otherlibs.difference([lib])):
return True
return False
# used by external objects directly