r10419 - /man-cgi/extractor/compare-manpage-stats.pl
Author: jfs
Date: Tue Jun 3 00:42:42 2014
New Revision: 10419
URL: http://svn.debian.org/wsvn/?sc=1&rev=10419
Log:
Fix stat extraction. Add a newline in end of message
Modified:
man-cgi/extractor/compare-manpage-stats.pl
Modified: man-cgi/extractor/compare-manpage-stats.pl
URL: http://svn.debian.org/wsvn/man-cgi/extractor/compare-manpage-stats.pl?rev=10419&op=diff
==============================================================================
--- man-cgi/extractor/compare-manpage-stats.pl (original)
+++ man-cgi/extractor/compare-manpage-stats.pl Tue Jun 3 00:42:42 2014
@@ -73,8 +73,6 @@
chomp;
if ( /^(\w+) (\d+)/ ) {
my $d = $1; my $m = $2;
- $manstats{cur}{$d}=$m;
- $manstats{prev}{$d}=0;
$manstats{prev}{$d}=$m;
$manstats{cur}{$d}=0 if ! defined($manstats{cur}{$d});
print "DEBUG: Previous stats - $m manpages in $d\n" if $debug;
@@ -120,7 +118,7 @@
# TODO: Cat the extraction logs of the last run for review.
if ($finmsg eq "" ) {
- $finmsg = "Everything seems OK.";
+ $finmsg = "Everything seems OK.\n";
}
Reply to: