[Collab-qa-commits] r1665 - ddpo-by-mail
Raphael Geissert
geissert at alioth.debian.org
Sun Jan 10 04:32:58 UTC 2010
Author: geissert
Date: 2010-01-10 04:32:57 +0000 (Sun, 10 Jan 2010)
New Revision: 1665
Modified:
ddpo-by-mail/reminder-mail.rb
Log:
Move the pkg<->maint rel check to where it is used
this is an ugly workaround to be used until ddpo_maintainers is replace
Modified: ddpo-by-mail/reminder-mail.rb
===================================================================
--- ddpo-by-mail/reminder-mail.rb 2010-01-09 23:53:29 UTC (rev 1664)
+++ ddpo-by-mail/reminder-mail.rb 2010-01-10 04:32:57 UTC (rev 1665)
@@ -246,11 +246,6 @@
text[pkg] = {}
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]) }
@@ -298,6 +293,11 @@
text[T_DEHS] += " #{pkg} #{iss[2]} (Debian: #{iss[1]})\n"
elsif iss[0] == :lintian
next if (iss[1] < 1 and iss[2] < 2)
+ maintainer = pkg_maintainer[pkg]
+ if maintainer == nil or maintainer.empty?
+ puts "Ugh, pkg vs maintainer relationship missing for #{pkg}!"
+ exit
+ end
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