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

[lintian] 01/01: r/tmpl/index: Use $OUT instead of print



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

nthykier pushed a commit to branch reporting-rewrite-config-and-archive-handling
in repository lintian.

commit 326f6dec239ae7d9fdd890676c4125250356885b
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Apr 28 13:53:28 2017 +0000

    r/tmpl/index: Use $OUT instead of print
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 reporting/templates/index.tmpl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/reporting/templates/index.tmpl b/reporting/templates/index.tmpl
index c188783..67be8ac 100644
--- a/reporting/templates/index.tmpl
+++ b/reporting/templates/index.tmpl
@@ -60,10 +60,10 @@
           my $distributions = join(' ', @{$archive_info->{'distributions'}});
           my $components = join(' ', @{$archive_info->{'components'}});
           my $timestamp = $archive_info->{'timestamp'};
-          print qq{      <tr><td rowspan="4">${name}</td><td>Architectures</td></td>$archs</tr>\n};
-          print qq{      <tr><td>Distributions/Suites</td></td>$distributions</tr>\n};
-          print qq{      <tr><td>Components</td></td>$components</tr>\n};
-          print qq{      <tr><td>Mirror timestamp</td></td>$timestamp</tr>\n};
+          $OUT .= qq{      <tr><td rowspan="4">${name}</td><td>Architectures</td></td>$archs</tr>\n};
+          $OUT .= qq{      <tr><td>Distributions/Suites</td></td>$distributions</tr>\n};
+          $OUT .= qq{      <tr><td>Components</td></td>$components</tr>\n};
+          $OUT .= qq{      <tr><td>Mirror timestamp</td></td>$timestamp</tr>\n};
         }
       }
     </table>

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


Reply to: