From: Zac Medico Date: Tue, 27 May 2008 10:20:20 +0000 (-0000) Subject: Fix breakage due to frozenset being immutable. X-Git-Tag: v2.2_pre8~88 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8328ae796d1b5eb6714dfd6c0820e63b3b7f156b;p=portage.git Fix breakage due to frozenset being immutable. svn path=/main/trunk/; revision=10455 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index a0dfec85e..f5a94221a 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -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: