From 1996fe6cc924162a321a4a2cc688df611b105253 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 31 Aug 2012 16:44:58 +0000 Subject: (prepare_transaction) drop unused parameter --- urpm/install.pm | 2 +- urpm/main_loop.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'urpm') diff --git a/urpm/install.pm b/urpm/install.pm index 9a86f341..770d6ad9 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -28,7 +28,7 @@ sub _hash_intersect_list { } sub prepare_transaction { - my ($_urpm, $set, $blists, $sources) = @_; + my ($set, $blists, $sources) = @_; my @blists_subset = map { +{ %$_, pkgs => _hash_intersect_list($_->{pkgs}, $set->{upgrade}) }; diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index c0ca6f0b..cbffd911 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -355,7 +355,7 @@ sub run { $urpm->{print}("\n") if $options{verbose} >= 0; my ($transaction_blists, $transaction_sources) = - urpm::install::prepare_transaction($urpm, $set, $blists, \%sources); + urpm::install::prepare_transaction($set, $blists, \%sources); #- first, filter out what is really needed to download for this small transaction. my ($error_sources, $msgs) = _download_packages($urpm, $callbacks, $transaction_blists, $transaction_sources); -- cgit v1.2.1