[Collab-qa-commits] r1485 - ddpo-by-mail
Raphael Geissert
atomo64-guest at alioth.debian.org
Sat Jun 13 17:32:36 UTC 2009
Author: atomo64-guest
Date: 2009-06-13 17:32:35 +0000 (Sat, 13 Jun 2009)
New Revision: 1485
Modified:
ddpo-by-mail/reminder-mail.rb
Log:
Avoid broken lintian links by adding a canary test
Modified: ddpo-by-mail/reminder-mail.rb
===================================================================
--- ddpo-by-mail/reminder-mail.rb 2009-06-13 17:16:12 UTC (rev 1484)
+++ ddpo-by-mail/reminder-mail.rb 2009-06-13 17:32:35 UTC (rev 1485)
@@ -196,7 +196,7 @@
EOF
else
gtext +=<<-EOF
-X-Debian: PTS
+X-Debian: PTS
X-PTS-Keyword: summary
Precedence: list
Subject: Possible problems in Debian packages you monitor on the PTS
@@ -228,6 +228,10 @@
text[pkg][T_HEADER] = "=== #{pkg}:#{comaint}\n"
text[pkg][T_INCLUDE] = false
maintainer = pkg_maintainer[pkg]
+ if maintainer == nil or maintainer.empty?
+ puts "Ugh, pkg vs maintainer relationship missing for #{pkg}!"
+ exit
+ end
issues[pkg].each do |iss|
if iss[0] == :bugs
bugs = iss[1].reject { |b| EXC_EMAILS_BUGS[email].include?(b[0]) }
More information about the Collab-qa-commits
mailing list