summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-23 23:11:33 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-23 23:11:33 +0000
commit053069c2180ce7c4c640ac783ef4d61bb512b016 (patch)
tree115d350339630bf4f33e24eb7ebdce549aacd158
parentb3cdedf4290dc033a4e6f8e62a1d0c3273872373 (diff)
downloadportage-053069c2180ce7c4c640ac783ef4d61bb512b016.tar.gz
portage-053069c2180ce7c4c640ac783ef4d61bb512b016.tar.bz2
portage-053069c2180ce7c4c640ac783ef4d61bb512b016.zip
Fix selective logic to work properly with masked packages.
svn path=/main/trunk/; revision=8262
-rw-r--r--pym/_emerge/__init__.py4
1 files 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 \