From: Zac Medico Date: Thu, 12 Jul 2007 00:22:53 +0000 (-0000) Subject: Make depgraph._reinstall_for_flags() always return all revelant flags. X-Git-Tag: v2.2_pre1~1039 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ed5e644040ef454dcfc3da77a16829e23325b185;p=portage.git Make depgraph._reinstall_for_flags() always return all revelant flags. svn path=/main/trunk/; revision=7239 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 8b2a87175..87cabe624 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -1210,10 +1210,8 @@ class depgraph(object): 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"):