From: Zac Medico Date: Tue, 27 May 2008 10:20:38 +0000 (-0000) Subject: Fix breakage due to frozenset being immutable. (trunk r10455) X-Git-Tag: v2.1.5.3~36 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f52594006b7eaff362c15dfa193a6511c5e23ccb;p=portage.git Fix breakage due to frozenset being immutable. (trunk r10455) svn path=/main/branches/2.1.2/; revision=10456 --- diff --git a/bin/emerge b/bin/emerge index 5f652a2f8..2b423a899 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2226,8 +2226,8 @@ class depgraph(object): """Return a set of flags that trigger reinstallation, or None if there are no such flags.""" if "--newuse" in self.myopts: - flags = orig_iuse.symmetric_difference( - cur_iuse).difference(forced_flags) + flags = set(orig_iuse.symmetric_difference( + cur_iuse).difference(forced_flags)) flags.update(orig_iuse.intersection(orig_use).symmetric_difference( cur_iuse.intersection(cur_use))) if flags: