From dacf58d1aa4afa15441427f50e6ce2a55a2e707c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 26 Mar 2012 20:23:22 +0000 Subject: (selected2local_and_blists) silent perl_checker --- urpm/get_pkgs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.1