From: Zac Medico Date: Tue, 23 Oct 2007 23:11:33 +0000 (-0000) Subject: Fix selective logic to work properly with masked packages. X-Git-Tag: v2.2_pre1~534 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=053069c2180ce7c4c640ac783ef4d61bb512b016;p=portage.git Fix selective logic to work properly with masked packages. svn path=/main/trunk/; revision=8262 --- 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 \