summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/install.pm2
-rw-r--r--urpm/main_loop.pm2
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);