aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-14 17:41:13 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-14 17:41:50 +0100
commit239ef87963a413153d7e95c22999cec8e261ecfe (patch)
treea2d4176801f7d71e6a7b5033311e5d122e4a0604
parent32df9d4498e59a90426d053a33f861b02df11a0e (diff)
downloadpaludis-239ef87963a413153d7e95c22999cec8e261ecfe.tar.gz
paludis-239ef87963a413153d7e95c22999cec8e261ecfe.tar.xz
Fix logic
-rw-r--r--src/clients/cave/cmd_find_candidates.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_find_candidates.cc b/src/clients/cave/cmd_find_candidates.cc
index 5be86de..6104132 100644
--- a/src/clients/cave/cmd_find_candidates.cc
+++ b/src/clients/cave/cmd_find_candidates.cc
@@ -188,12 +188,12 @@ FindCandidatesCommand::run_hosted(
{
if (search_options.a_visible.specified())
{
- const auto ids((*env)[selection::AllVersionsUnsorted(generator::Package(*q))]);
+ const auto ids((*env)[selection::AllVersionsUnsorted(generator::Package(*q) | filter::NotMasked())]);
check_candidates(yield, step, ids);
}
else
{
- const auto ids((*env)[selection::AllVersionsUnsorted(generator::Package(*q) | filter::NotMasked())]);
+ const auto ids((*env)[selection::AllVersionsUnsorted(generator::Package(*q))]);
check_candidates(yield, step, ids);
}
}