summaryrefslogtreecommitdiffstats
path: root/urpm/select.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-21 07:28:13 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-21 07:28:13 +0000
commit73cb41dad6924966006c0b00360c1d4f3221acbe (patch)
treee60cf1f5ffd35aa114f5a03f395f43f61ba04fba /urpm/select.pm
parent6766636433d00baae142dc994bd295bce1c7e344 (diff)
downloadurpmi-73cb41dad6924966006c0b00360c1d4f3221acbe.tar
urpmi-73cb41dad6924966006c0b00360c1d4f3221acbe.tar.gz
urpmi-73cb41dad6924966006c0b00360c1d4f3221acbe.tar.bz2
urpmi-73cb41dad6924966006c0b00360c1d4f3221acbe.tar.xz
urpmi-73cb41dad6924966006c0b00360c1d4f3221acbe.zip
treat formatList like others...
Diffstat (limited to 'urpm/select.pm')
-rw-r--r--urpm/select.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index c2c3fe48..1e462a5e 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -4,7 +4,7 @@ package urpm::select;
use strict;
use urpm::msg;
-use urpm::util qw(any intersection member min partition uniq);
+use urpm::util qw(any formatList intersection member min partition uniq);
use urpm::sys;
use URPM;
@@ -220,7 +220,7 @@ sub _search_packages {
$urpm->{error}(N("No package named %s", $v));
values(%l) != 0 and $urpm->{error}(
N("The following packages contain %s: %s",
- $v, urpm::util::formatList(4, sort { $a cmp $b } keys %l)) . "\n" .
+ $v, formatList(4, sort { $a cmp $b } keys %l)) . "\n" .
N("You should use \"-a\" to use all of them")
);
$result = 0;