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

Re: Patch for Tags.pm in sid



"C.J. Adams-Collier" <cjac@colliertech.org> writes:

> --- /usr/share/lintian/lib/Tags.pm	2009-07-09 09:11:20.000000000 -0700
> +++ /tmp/Tags.pm	2009-07-31 14:17:49.000000000 -0700
> @@ -323,7 +323,7 @@
>      my $level;
>  
>      # Pedantic is just a pseudo severity, skip level checks
> -    if ($severity eq 'pedantic') {
> +    if ($severity && $severity eq 'pedantic') {
>  	$level = 1 ;
>      } elsif ($severity and $certainty) {
>  	$level = $display_level{$severity}{$certainty};

That would seem to indicate that we have a tag somewhere that doesn't have
a severity.  I'm not sure how else $serverity could end up being
undefined.

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


Reply to: