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

Raphael Geissert geissert at alioth.debian.org
Thu Oct 29 01:29:16 UTC 2009


Author: geissert
Date: 2009-10-29 01:29:16 +0000 (Thu, 29 Oct 2009)
New Revision: 1608

Modified:
   ddpo-by-mail/reminder-mail.rb
Log:
When removing the # indicator _do_ add the package to the hash


Modified: ddpo-by-mail/reminder-mail.rb
===================================================================
--- ddpo-by-mail/reminder-mail.rb	2009-10-28 23:52:16 UTC (rev 1607)
+++ ddpo-by-mail/reminder-mail.rb	2009-10-29 01:29:16 UTC (rev 1608)
@@ -62,11 +62,8 @@
 pkg_maintainer = {}
 maintainers_pkg.keys.each do |email|
   maintainers_pkg[email].each do |pkg|
-    if pkg =~ /#/
-      pkg = pkg.chop
-    else
-      pkg_maintainer[pkg] = email
-    end
+    pkg = pkg.chop if pkg =~ /#/
+    pkg_maintainer[pkg] = email
     haslist[pkg] = true if email =~ /@list.*\.debian\.org$/
   end
 end




More information about the Collab-qa-commits mailing list