From af2b0c8bad7a2b51207999410e31ee3d3a7719b2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 30 Sep 2013 11:57:38 +0200 Subject: [PATCH] Remove dead code --- src/root/common.tt | 11 ----------- src/script/hydra-evaluator | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/src/root/common.tt b/src/root/common.tt index 19a9edea..5d4be232 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -244,17 +244,6 @@ BLOCK renderStatus; END; -BLOCK renderInputValue; - IF input.type == "build" || input.type == "sysbuild"; - INCLUDE renderFullBuildLink build=input.dependency; - ELSIF input.type == "string" || input.type == "boolean" %] - "[% input.value %]" - [% ELSE %] - [% input.uri %][% IF input.revision %] (r[% input.revision %])[% END %] - [% END; -END; - - BLOCK renderShortInputValue; IF input.type == "build" || input.type == "sysbuild" %] [% input.dependency.id %] diff --git a/src/script/hydra-evaluator b/src/script/hydra-evaluator index 73f0ed9e..c84ca940 100755 --- a/src/script/hydra-evaluator +++ b/src/script/hydra-evaluator @@ -250,17 +250,6 @@ sub checkJobsetWrapped { # Store the error messages for jobs that failed to evaluate. foreach my $error (@{$jobs->{error}}) { - my $bindings = ""; - foreach my $arg (@{$error->{arg}}) { - my $input = $inputInfo->{$arg->{name}}->[$arg->{altnr}] or die "invalid input"; - $bindings .= ", " if $bindings ne ""; - $bindings .= $arg->{name} . " = "; - given ($input->{type}) { - when ("string") { $bindings .= "\"" . $input->{value} . "\""; } - when ("boolean") { $bindings .= $input->{value}; } - default { $bindings .= "..."; } - } - } $msg .= ($error->{location} ne "" ? "in job ‘$error->{location}’" : "at top-level") . ":\n" . $error->{msg} . "\n\n";