[Collab-qa-commits] r1505 - ddpo-by-mail

Raphael Geissert atomo64-guest at alioth.debian.org
Mon Jul 6 19:10:06 UTC 2009


Author: atomo64-guest
Date: 2009-07-06 19:10:05 +0000 (Mon, 06 Jul 2009)
New Revision: 1505

Modified:
   ddpo-by-mail/reminder-mail.rb
Log:
Don't print the lintian msg if no errors and warnings < 2, to reduce noise


Modified: ddpo-by-mail/reminder-mail.rb
===================================================================
--- ddpo-by-mail/reminder-mail.rb	2009-07-06 19:08:52 UTC (rev 1504)
+++ ddpo-by-mail/reminder-mail.rb	2009-07-06 19:10:05 UTC (rev 1505)
@@ -278,7 +278,7 @@
         end
         text[T_DEHS] += "  #{pkg}  #{iss[2]}  (Debian: #{iss[1]})\n"
       elsif iss[0] == :lintian
-        next if (iss[1] < 1 and iss[2] < 1)
+        next if (iss[1] < 1 and iss[2] < 2)
         text[pkg][T_INCLUDE] = true if iss[1] > 0
         text[pkg][T_LINTIAN] = "= Lintian reports"
         if iss[1] > 0




More information about the Collab-qa-commits mailing list