From e30c257c1721851e6fadc141235184758727440f Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Sun, 18 Feb 2007 20:19:29 +0000 Subject: set.remove() returns None, so can't use it in a function call svn path=/main/trunk/; revision=5995 --- pym/portage/dbapi/vartree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-1-g7c22