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

pym/_emerge/__init__.py

index a0dfec85ef6a9d5dce85784f7ce082d41baf87ca..f5a94221a186a4f56ed9c5a3c71e46970407f6fc 100644 (file)
@@ -2106,8 +2106,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: