[Pkg-wmaker-commits] [wmfrog] 115/145: New line skip in weather.pl.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:36 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmfrog.

commit be8973aae81f89aaff4e12b1f51cbc10292003c2
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sun Aug 24 03:09:28 2014 -0500

    New line skip in weather.pl.
    
    Previously, there were 12 lines between the "START BODY OF TEXT HERE" comment
    and the time in the html file downloaded from weather.noaa.gov for processing
    weather information.  Now, however, the number of lines has increased to 21,
    and weather.pl was not able to correctly parse the weather information.
    
    Adapted from Debian:
    http://sources.debian.net/src/wmfrog/0.3.1%2Bds-2/debian/patches/weather.pl-new-line-skip.patch/
---
 wmfrog/Src/weather.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmfrog/Src/weather.pl b/wmfrog/Src/weather.pl
index 7ff01bc..4cd2d1b 100755
--- a/wmfrog/Src/weather.pl
+++ b/wmfrog/Src/weather.pl
@@ -79,7 +79,7 @@ if ( $mode eq "http" )
 
     $i = 0;
 
-    while ( $i != 12  and  not eof DATA )
+    while ( $i != 21  and  not eof DATA )
     {
 	$line = <DATA>;
 	$i++;

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



More information about the Pkg-wmaker-commits mailing list