summaryrefslogtreecommitdiffstats
path: root/urpm/parallel_ka_run.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-09 21:26:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-09 21:26:49 +0000
commitecda091000e144e4e4e6b5c56c37622f0f2fec0d (patch)
treeaf5d2b65bfe54cf62c6275ff3caa15cbd66524e8 /urpm/parallel_ka_run.pm
parentd0a292cf431434c705caf361dec640a957a20c1f (diff)
downloadurpmi-ecda091000e144e4e4e6b5c56c37622f0f2fec0d.tar
urpmi-ecda091000e144e4e4e6b5c56c37622f0f2fec0d.tar.gz
urpmi-ecda091000e144e4e4e6b5c56c37622f0f2fec0d.tar.bz2
urpmi-ecda091000e144e4e4e6b5c56c37622f0f2fec0d.tar.xz
urpmi-ecda091000e144e4e4e6b5c56c37622f0f2fec0d.zip
no kidding, those vars are used for reading, never written!
Diffstat (limited to 'urpm/parallel_ka_run.pm')
-rw-r--r--urpm/parallel_ka_run.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm
index bc886386..86c67659 100644
--- a/urpm/parallel_ka_run.pm
+++ b/urpm/parallel_ka_run.pm
@@ -97,7 +97,6 @@ sub parallel_find_remove {
#- parallel resolve_dependencies
sub parallel_resolve_dependencies {
my ($parallel, $synthesis, $urpm, $state, $requested, %options) = @_;
- my (%avoided, %requested);
#- first propagate the synthesis file to all machines
run_mput($urpm, $parallel, $synthesis, $synthesis);
@@ -114,8 +113,7 @@ sub parallel_resolve_dependencies {
my ($best_requested, $best);
foreach (@$_) {
exists $state->{selected}{$_->id} and $best_requested = $_, last;
- exists $avoided{$_->name} and next;
- if ($best_requested || exists $requested{$_->id}) {
+ if ($best_requested) {
if ($best_requested && $best_requested != $_) {
$_->compare_pkg($best_requested) > 0 and $best_requested = $_;
} else {