From d086f001693883ee2d85ef373ef1896c37ac29e1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 Jul 2007 00:24:13 +0000 Subject: [PATCH] Make depgraph._reinstall_for_flags() always return all revelant flags. (trunk r7239) svn path=/main/branches/2.1.2/; revision=7240 --- bin/emerge | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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"): -- 2.26.2