From 5a7efc04699aa6d4dc5d03671f2544f2973ef507 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Oct 2014 15:34:05 +0200 Subject: [PATCH] Fix aggregate handling --- src/script/hydra-evaluator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/hydra-evaluator b/src/script/hydra-evaluator index a16dc188..3641bb66 100755 --- a/src/script/hydra-evaluator +++ b/src/script/hydra-evaluator @@ -202,7 +202,7 @@ sub checkJobsetWrapped { $drvPathToId{$x->{drvPath}} = $x; } - foreach my $job (@{$jobs->{job}}) { + foreach my $job (values %{$jobs}) { next unless $job->{constituents}; my $x = $drvPathToId{$job->{drvPath}} or die; foreach my $drvPath (split / /, $job->{constituents}) {