summaryrefslogtreecommitdiffstats
path: root/urpm/mirrors.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-27 17:15:08 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-27 17:15:08 +0000
commitada1534f6420d00de86437e57c921133c5c61ceb (patch)
tree7db618a2d228e19ea651ae1078529344bec937e8 /urpm/mirrors.pm
parent412e8c970890f3412d8b67e1d42e96f786aeb211 (diff)
downloadurpmi-ada1534f6420d00de86437e57c921133c5c61ceb.tar
urpmi-ada1534f6420d00de86437e57c921133c5c61ceb.tar.gz
urpmi-ada1534f6420d00de86437e57c921133c5c61ceb.tar.bz2
urpmi-ada1534f6420d00de86437e57c921133c5c61ceb.tar.xz
urpmi-ada1534f6420d00de86437e57c921133c5c61ceb.zip
silent perl_checker
Diffstat (limited to 'urpm/mirrors.pm')
-rw-r--r--urpm/mirrors.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/mirrors.pm b/urpm/mirrors.pm
index 25b4e04d..a8b6de69 100644
--- a/urpm/mirrors.pm
+++ b/urpm/mirrors.pm
@@ -326,7 +326,7 @@ sub _product_id_mtime() { (stat('/etc/product.id'))[9] }
sub parse_LDAP_namespace_structure {
my ($s) = @_;
- my %h = map { /(.*?)=(.*)/ ? ($1 => $2) : () } split(',', $s);
+ my %h = map { /(.*?)=(.*)/ ? ($1 => $2) : @{[]} } split(',', $s);
\%h;
}