[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: Correct invalid "else if" syntax with "elsif". Thanks to Uwe Kleine-Koenig for the report.



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit e23a9ac5685070bd6ce5cb1bc4e792ba48ba5f59
Author: Chris Lamb <lamby@debian.org>
Date:   Wed Dec 20 08:58:13 2017 +0000

    Correct invalid "else if" syntax with "elsif". Thanks to Uwe Kleine-Koenig for the report.
---
 debian/changelog                    | 4 ++++
 reporting/templates/maintainer.tmpl | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 7ba9163..8a459f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,6 +30,10 @@ lintian (2.5.66) UNRELEASED; urgency=medium
     + [CL] Also emit embedded-javascript-library for Twitter Bootstrap and
       "mustache".
 
+  * reporting/templates/maintainer.tmpl:
+    + [CL] Correct invalid "else if" syntax with "elsif". Thanks to Uwe
+      Kleine-Koenig for the report.
+
   * t/tests/files-multiarch-foreign-files:
     + [CL] Don't hardcode architecture triplet to fix FTBFS on non-amd64
       architectures.  (Closes: #884683)
diff --git a/reporting/templates/maintainer.tmpl b/reporting/templates/maintainer.tmpl
index 7be6b7a..c63cc12 100644
--- a/reporting/templates/maintainer.tmpl
+++ b/reporting/templates/maintainer.tmpl
@@ -124,7 +124,7 @@
                     $OUT .= qq(    <a href="https://bugs.debian.org/src:$source";>Bugs</a>\n);
                     if ($errors) {
                         $OUT .= qq(    <a href="${path_prefix}full/$id#$anchor">Full report</a>\n);
-                    } else if (@error_tags) {
+                    } elsif (@error_tags) {
                         $OUT .= qq(    <a href="${path_prefix}maintainer/$id#$anchor">Short report</a>\n);
                     }
                     $OUT .= qq[  (${status}, last processed by Lintian/$last_processed_by)];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: