summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-26 22:44:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-26 22:44:25 +0000
commit15309d73c0ca04eb361ce44a8d0ca9d913c3bcef (patch)
tree5b5d4e5a1ebd510cd3088a77743b76c9c63ad1fd /urpm
parent74b1af81491b3295cf1e2bad9dd20d43eec44011 (diff)
downloadurpmi-15309d73c0ca04eb361ce44a8d0ca9d913c3bcef.tar
urpmi-15309d73c0ca04eb361ce44a8d0ca9d913c3bcef.tar.gz
urpmi-15309d73c0ca04eb361ce44a8d0ca9d913c3bcef.tar.bz2
urpmi-15309d73c0ca04eb361ce44a8d0ca9d913c3bcef.tar.xz
urpmi-15309d73c0ca04eb361ce44a8d0ca9d913c3bcef.zip
simplify
Diffstat (limited to 'urpm')
-rw-r--r--urpm/removable.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm
index 46221021..d8c981e6 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -247,7 +247,7 @@ sub _create_blists {
#- side-effects: none
sub _sort_media {
- my ($urpm, @l) = @_;
+ my (@l) = @_;
if (@l > 1) {
@l = sort { values(%{$a->{list}}) <=> values(%{$b->{list}}) } @l;
@@ -278,7 +278,7 @@ sub copy_packages_of_removable_media {
#- Here we have only removable devices.
#- If more than one media uses this device, we have to sort
#- needed packages to copy the needed rpm files.
- foreach my $blist (_sort_media($urpm, @$l)) {
+ foreach my $blist (_sort_media(@$l)) {
_examine_removable_medium($urpm, $blist, $sources, $o_ask_for_medium);
}
}