lintian: r1135 - in trunk: debian frontend
Author: rra
Date: 2008-01-22 05:45:43 +0100 (Tue, 22 Jan 2008)
New Revision: 1135
Modified:
trunk/debian/changelog
trunk/frontend/lintian
Log:
+ [RA] Don't try to report overrides when not checking a package.
Thanks, H?\195?\165kon Stordahl. (Closes: #461978)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-01-22 04:44:33 UTC (rev 1134)
+++ trunk/debian/changelog 2008-01-22 04:45:43 UTC (rev 1135)
@@ -26,6 +26,8 @@
+ [RA] Include info tags in the broken-down description of the
override count since they're included in the total. Based on a
patch by Chris Lamb. (Closes: #459851)
+ + [RA] Don't try to report overrides when not checking a package.
+ Thanks, Håkon Stordahl. (Closes: #461978)
* lib/Spelling.pm:
+ [RA] Add a spelling correction for PostgreSQL and lots of new
Modified: trunk/frontend/lintian
===================================================================
--- trunk/frontend/lintian 2008-01-22 04:44:33 UTC (rev 1134)
+++ trunk/frontend/lintian 2008-01-22 04:45:43 UTC (rev 1135)
@@ -1423,10 +1423,10 @@
close(STATUS);
}
}
-if (not $quiet and not $no_override and not $show_overrides) {
- my $errors = $overrides{errors};
- my $warnings = $overrides{warnings};
- my $info = $overrides{info};
+if ($action eq 'check' and not $quiet and not $no_override and not $show_overrides) {
+ my $errors = $overrides{errors} || 0;
+ my $warnings = $overrides{warnings} || 0;
+ my $info = $overrides{info} || 0;
my $total = $errors + $warnings + $info;
if ($total > 0) {
my $total = ($total == 1)
Reply to: