aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-01 11:50:22 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-01 11:50:22 +0000
commit74d3d15d7b75a3c7b079ad97e650e027b92fce56 (patch)
treebe6010fe1d453ce9b31f9c7a5eea1a8c237cff97
parentd59528f23f1cc7af538e55e8d07b018b79d886f4 (diff)
downloadrpmdrake-74d3d15d7b75a3c7b079ad97e650e027b92fce56.tar
rpmdrake-74d3d15d7b75a3c7b079ad97e650e027b92fce56.tar.gz
rpmdrake-74d3d15d7b75a3c7b079ad97e650e027b92fce56.tar.bz2
rpmdrake-74d3d15d7b75a3c7b079ad97e650e027b92fce56.tar.xz
rpmdrake-74d3d15d7b75a3c7b079ad97e650e027b92fce56.zip
(do_search) simplify
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index b8abb61b..b5bddc9d 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -64,7 +64,7 @@ sub do_search($$$$$$$) {
}
my $entry_rx = eval { qr/$entry/i } or return;
my $results_ok = N("Search results");
- $options->{delete_category}->($_) foreach $results_ok;
+ $options->{delete_category}->($results_ok);
$options->{state}{flat} and $options->{delete_all}->();
$tree->collapse_all;
my @search_results;