summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-26 20:23:22 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-26 20:23:22 +0000
commitdacf58d1aa4afa15441427f50e6ce2a55a2e707c (patch)
treedfa6f0a322e02a7fd7dc26049cfa61fac3ce4d84
parent0a36211c413c8b39e27329bb5281b2a180011ca7 (diff)
downloadurpmi-dacf58d1aa4afa15441427f50e6ce2a55a2e707c.tar
urpmi-dacf58d1aa4afa15441427f50e6ce2a55a2e707c.tar.gz
urpmi-dacf58d1aa4afa15441427f50e6ce2a55a2e707c.tar.bz2
urpmi-dacf58d1aa4afa15441427f50e6ce2a55a2e707c.tar.xz
urpmi-dacf58d1aa4afa15441427f50e6ce2a55a2e707c.zip
(selected2local_and_blists) silent perl_checker
-rw-r--r--urpm/get_pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/get_pkgs.pm b/urpm/get_pkgs.pm
index 5c69a525..a0ef4445 100644
--- a/urpm/get_pkgs.pm
+++ b/urpm/get_pkgs.pm
@@ -126,7 +126,7 @@ sub selected2local_and_blists {
$pkgs{$maped_id} = $pkg;
}
}
- %pkgs ? { medium => $medium, pkgs => \%pkgs } : ();
+ %pkgs ? { medium => $medium, pkgs => \%pkgs } : @{[]};
} (@{$urpm->{media} || []});
if (@remaining_ids) {