summaryrefslogtreecommitdiffstats
path: root/urpm/get_pkgs.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-06 19:43:44 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-06 19:43:44 +0000
commit1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb (patch)
treec5be614f327a245cde0840d50b8fdfacf2d7529c /urpm/get_pkgs.pm
parent1fd8be50f3a52993761b92ba90cdecc04825da37 (diff)
downloadurpmi-1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb.tar
urpmi-1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb.tar.gz
urpmi-1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb.tar.bz2
urpmi-1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb.tar.xz
urpmi-1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb.zip
perl_checker cleanups
Diffstat (limited to 'urpm/get_pkgs.pm')
-rw-r--r--urpm/get_pkgs.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/urpm/get_pkgs.pm b/urpm/get_pkgs.pm
index 8e564c78..e0c375b8 100644
--- a/urpm/get_pkgs.pm
+++ b/urpm/get_pkgs.pm
@@ -140,7 +140,7 @@ sub _create_old_list_from_blists {
my $medium = $_;
my ($blist) = grep { $_->{medium} == $medium } @$blists;
- { map { $_ => urpm::blist_pkg_to_url($blist, $blist->{pkgs}{$_}) } keys %{$blist->{pkgs}} };
+ { map { $_ => urpm::blist_pkg_to_url($blist, $blist->{pkgs}{$_}) } keys %{$blist->{pkgs}} }
} @$media ];
}
@@ -224,8 +224,8 @@ sub download_packages_of_distant_media {
if (%{$blist_distant{pkgs}}) {
my ($remote_sources, $remote_errors) = _download_packages_of_distant_media($urpm, \%blist_distant, %options);
- put_in_hash (\%new_sources, $remote_sources);
- put_in_hash (\%errors, $remote_errors);
+ put_in_hash(\%new_sources, $remote_sources);
+ put_in_hash(\%errors, $remote_errors);
}
}
@@ -280,7 +280,7 @@ sub _download_packages_of_distant_media {
$errors{$id} = [ $url, 'missing' ];
}
}
- (\%sources, \%errors)
+ (\%sources, \%errors);
}
1;