]> git.decadent.org.uk Git - dak.git/commitdiff
cater for uid_email None in sponsor notification(cherry picked from commit 0d765d5cbf...
authorThomas Viehmann <tv@beamnet.de>
Sun, 4 May 2008 06:55:42 +0000 (06:55 +0000)
committerJoerg Jaspert <joerg@debian.org>
Wed, 24 Sep 2008 19:29:33 +0000 (21:29 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Signed-off-by: Thomas Viehmann <tv@beamnet.de>
ChangeLog
dak/process_unchecked.py

index 77132d17ca04ac8abefb2e75b876e90977cc459f..6f67b2e2fbdbfa4ae302bebb773e3047fcd42f8e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-04  Thomas Viehmann  <tv@beamnet.de>
+
+       * dak/process_unchecked.py (check_signed_by_key): cater for uid_email
+       None in sponsor notification
+
 2008-05-03  Joerg Jaspert  <joerg@debian.org>
 
        * config/debian/cron.daily: Rename to
index abf53fd103ed8abf2fb391eff49977ff28fa8714..6a6c52d6e26dcdbddc93c64bd405527d38525a3d 100644 (file)
@@ -1090,7 +1090,7 @@ def check_signed_by_key():
     else:
         sponsored = 1
         if ("source" in changes["architecture"] and
-            daklib.utils.is_email_alias(uid_email)):
+            uid_email and daklib.utils.is_email_alias(uid_email)):
             sponsor_addresses = daklib.utils.gpg_get_key_addresses(changes["fingerprint"])
             if (changes["maintaineremail"] not in sponsor_addresses and
                 changes["changedbyemail"] not in sponsor_addresses):