From 053069c2180ce7c4c640ac783ef4d61bb512b016 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 23 Oct 2007 23:11:33 +0000 Subject: [PATCH] Fix selective logic to work properly with masked packages. svn path=/main/trunk/; revision=8262 --- pym/_emerge/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 4cea91890..2eb7e0b5c 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2017,6 +2017,8 @@ class depgraph(object): # masked by corruption continue if not installed: + if myarg: + found_available_arg = True try: if not visible(pkgsettings, cpv, metadata, built=built, installed=installed): @@ -2100,8 +2102,6 @@ class depgraph(object): forced_flags, old_use, old_iuse, cur_use, cur_iuse) if not installed: - if myarg: - found_available_arg = True must_reinstall = empty or \ (myarg and not selective) if not reinstall_for_flags and \ -- 2.26.2