diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-08-31 16:44:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-08-31 16:44:58 +0000 |
commit | 1996fe6cc924162a321a4a2cc688df611b105253 (patch) | |
tree | 903578e1452f7af8167ff34425232f033f97f6eb | |
parent | 6a91695cbe85fb81a4833ed3be293908a239e9c6 (diff) | |
download | urpmi-1996fe6cc924162a321a4a2cc688df611b105253.tar urpmi-1996fe6cc924162a321a4a2cc688df611b105253.tar.gz urpmi-1996fe6cc924162a321a4a2cc688df611b105253.tar.bz2 urpmi-1996fe6cc924162a321a4a2cc688df611b105253.tar.xz urpmi-1996fe6cc924162a321a4a2cc688df611b105253.zip |
(prepare_transaction) drop unused parameter
-rw-r--r-- | urpm/install.pm | 2 | ||||
-rw-r--r-- | urpm/main_loop.pm | 2 |
2 files changed, 2 insertions, 2 deletions
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); |