summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-02-18 20:19:29 +0000
committerMarius Mauch <genone@gentoo.org>2007-02-18 20:19:29 +0000
commite30c257c1721851e6fadc141235184758727440f (patch)
treeb17f0a35f5f14906e2dc36723e6b9c5cb3b43391
parent287f4f0623f21ed973f4f7d09f40bdb54982e79e (diff)
downloadportage-e30c257c1721851e6fadc141235184758727440f.tar.gz
portage-e30c257c1721851e6fadc141235184758727440f.tar.bz2
portage-e30c257c1721851e6fadc141235184758727440f.zip
set.remove() returns None, so can't use it in a function call
svn path=/main/trunk/; revision=5995
-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