From: Marius Mauch Date: Sun, 18 Feb 2007 20:19:29 +0000 (-0000) Subject: set.remove() returns None, so can't use it in a function call X-Git-Tag: v2.2_pre1~1685 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e30c257c1721851e6fadc141235184758727440f;p=portage.git set.remove() returns None, so can't use it in a function call svn path=/main/trunk/; revision=5995 --- 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