From: Zac Medico Date: Thu, 12 Jul 2007 00:24:13 +0000 (-0000) Subject: Make depgraph._reinstall_for_flags() always return all revelant flags. (trunk r7239) X-Git-Tag: v2.1.3~55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d086f001693883ee2d85ef373ef1896c37ac29e1;p=portage.git Make depgraph._reinstall_for_flags() always return all revelant flags. (trunk r7239) svn path=/main/branches/2.1.2/; revision=7240 --- diff --git a/bin/emerge b/bin/emerge index 3bbdc5a61..f6d51aa1c 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1211,10 +1211,8 @@ class depgraph: if "--newuse" in self.myopts: flags = orig_iuse.symmetric_difference( cur_iuse).difference(forced_flags) - if flags: - return flags - flags = orig_iuse.intersection(orig_use).symmetric_difference( - cur_iuse.intersection(cur_use)) + flags.update(orig_iuse.intersection(orig_use).symmetric_difference( + cur_iuse.intersection(cur_use))) if flags: return flags elif "changed-use" == self.myopts.get("--reinstall"):