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

Bug#454941: lintian: False positive doc-base-abstract-field-separator-extra-whitespaces



tags 454941 patch
thanks

I am seeing the same bug with swi-prolog-doc.

Patch attached.


/Lamby

-- 
Chris Lamb, UK                                       chris@chris-lamb.co.uk
                                                            GPG: 0x634F9A20
--- menus.orig	2007-12-08 14:49:21.000000000 +0000
+++ menus	2007-12-08 14:49:36.000000000 +0000
@@ -405,7 +405,7 @@
             if (/manage\s+online\s+manuals\s.*Debian/o) {
                 tag "doc-base-abstract-field-is-template", "$dbfile:$line"
                     unless $pkg eq "doc-base";
-            } elsif (/^(\s+)\.(\s*)$/o and $1 ne " " or $2) {
+            } elsif (/^(\s+)\.(\s*)$/o and ($1 ne " " or $2)) {
                 tag "doc-base-abstract-field-separator-extra-whitespaces",
                     "$dbfile:" . ($line - $#{@$vals} + $idx) . "-$1-$2-";
             } elsif (!$leadsp && /^(\s+)(\S)/o) {

Attachment: signature.asc
Description: PGP signature


Reply to: