Fix breakage due to frozenset being immutable. (trunk r10455)
authorZac Medico <zmedico@gentoo.org>
Tue, 27 May 2008 10:20:38 +0000 (10:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 27 May 2008 10:20:38 +0000 (10:20 -0000)
svn path=/main/branches/2.1.2/; revision=10456

bin/emerge

index 5f652a2f80dfaf8a750264ddf351a58781c88742..2b423a8996e51dd32019af428450b0d090a56922 100755 (executable)
@@ -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: