hack to try and prevent too many newlines

This commit is contained in:
Rob Vermaas 2010-01-07 13:53:05 +00:00
parent 1c0d34d395
commit 791a6eddd6
2 changed files with 4 additions and 2 deletions

View file

@ -182,8 +182,9 @@ sub sendEmailNotification {
From => "Hydra Build Daemon <$sender>",
Subject => "Hydra job $jobName build " . $build->id . " $status",
],
body => $body,
body => "",
);
$email->body_set($body);
print $email->as_string if $ENV{'HYDRA_MAIL_TEST'};

View file

@ -67,8 +67,9 @@ sub sendJobsetErrorNotification() {
From => "Hydra Build Daemon <$sender>",
Subject => "Hydra $projectName:$jobsetName evaluation error",
],
body => $body,
body => ""
);
$email->body_set($body);
print $email->as_string if $ENV{'HYDRA_MAIL_TEST'};