[lintian] 01/01: c/r-html-reports: Fix valid but confusing code
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 2f058c7a84fe282a48729b472b2d1ecfa86e46eb
Author: Niels Thykier <niels@thykier.net>
Date: Wed Feb 14 21:25:14 2018 +0000
c/r-html-reports: Fix valid but confusing code
Signed-off-by: Niels Thykier <niels@thykier.net>
---
commands/reporting-html-reports.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commands/reporting-html-reports.pm b/commands/reporting-html-reports.pm
index 560db3c..8506f69 100644
--- a/commands/reporting-html-reports.pm
+++ b/commands/reporting-html-reports.pm
@@ -1158,8 +1158,8 @@ sub output_template {
%{$data},
}) or die "Filling out footer of $file: $Text::Template::ERROR\n";
};
- $data->{config_vars} ||= $TEMPLATE_CONFIG_VARS,
- open(my $fd, '>:encoding(UTF-8)', "$HTML_TMP_DIR/$file");
+ $data->{config_vars} ||= $TEMPLATE_CONFIG_VARS;
+ open(my $fd, '>:encoding(UTF-8)', "$HTML_TMP_DIR/$file");
$template->fill_in(OUTPUT => $fd, HASH => $data)
or die "filling out $file failed: $Text::Template::ERROR\n";
close($fd);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: