Author: poeml Date: Sat Dec 5 17:08:18 2009 New Revision: 7911 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7911&view=rev Log: scanner: - when scanning via FTP, a warning about an unparsable line doesn't need to be displayed if it is summary ("total: ...") that some FTP servers include in the directory listing. Modified: trunk/tools/scanner.pl Modified: trunk/tools/scanner.pl URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/tools/scanner.pl?rev=7911&r1=7910&r2=7911&view=diff ============================================================================== --- trunk/tools/scanner.pl (original) +++ trunk/tools/scanner.pl Sat Dec 5 17:08:18 2009 @@ -748,7 +748,9 @@ } } } else { - print "$identifier: line could not be parsed: $text->[$i]\n"; + if ($text->[$i] !~ /^total/) { + print "$identifier: line could not be parsed: $text->[$i]\n"; + } } } _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Sat Dec 05 2009 - 16:08:21 GMT
This archive was generated by hypermail 2.2.0 : Sat Dec 05 2009 - 16:45:07 GMT