diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-26 22:44:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-26 22:44:25 +0000 |
commit | 15309d73c0ca04eb361ce44a8d0ca9d913c3bcef (patch) | |
tree | 5b5d4e5a1ebd510cd3088a77743b76c9c63ad1fd /urpm | |
parent | 74b1af81491b3295cf1e2bad9dd20d43eec44011 (diff) | |
download | urpmi-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.pm | 4 |
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); } } |