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

Raphael Geissert atomo64-guest at alioth.debian.org
Fri May 1 00:25:49 UTC 2009


Author: atomo64-guest
Date: 2009-05-01 00:25:49 +0000 (Fri, 01 May 2009)
New Revision: 1444

Modified:
   ddpo-by-mail/reminder-mail.rb
Log:
Only lintian errors cause a given package to be mentioned in the email, not warnings


Modified: ddpo-by-mail/reminder-mail.rb
===================================================================
--- ddpo-by-mail/reminder-mail.rb	2009-04-26 06:25:36 UTC (rev 1443)
+++ ddpo-by-mail/reminder-mail.rb	2009-05-01 00:25:49 UTC (rev 1444)
@@ -267,7 +267,7 @@
         text[T_DEHS] += "  #{pkg}  #{iss[2]}  (Debian: #{iss[1]})\n"
       elsif iss[0] == :lintian
         next if (iss[1] < 1 and iss[2] < 1)
-        text[pkg][T_INCLUDE] = true
+        text[pkg][T_INCLUDE] = true if iss[1] > 0
         text[pkg][T_LINTIAN] = "= Lintian reports"
         if iss[1] > 0
           text[pkg][T_LINTIAN] += " #{iss[1]} error(s)"




More information about the Collab-qa-commits mailing list