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

Bug#423096: lintian: Please do independent check of extra whitespace in doc-base files



Luis Rodrigo Gallardo Cruz <rodrigo@nul-unu.com> writes:

> Package: lintian
> Version: 1.23.30
> Severity: minor

> The doc-base-file-no-format check fails if the doc-base file has empty
> lines at the end. Aparently it believes them to be an extra section,
> which lacks a Format: field. This causes a (mildly) confusing error message.

> I think lintian should check independently for such mistake and report
> it as its own error (warning?) kind. Alternatively, you could reword
> this check's verbose explanation, perhaps something along the lines
> of:

It looks like the doc-base specification says blank lines are fine, so I'm
fixing the test so that it doesn't produce a false positive on blank
lines.  Thanks for the report!

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: