From 68cbe113f36e3dc4a87cfe32f94833cb6e0ad534 Mon Sep 17 00:00:00 2001 From: Thomas Viehmann Date: Sun, 4 May 2008 06:55:42 +0000 Subject: [PATCH] cater for uid_email None in sponsor notification(cherry picked from commit 0d765d5cbf58ca3d9d7621d9fc9e6cc6dc94f244) Signed-off-by: Joerg Jaspert Signed-off-by: Thomas Viehmann --- ChangeLog | 5 +++++ dak/process_unchecked.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 77132d17..6f67b2e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-04 Thomas Viehmann + + * dak/process_unchecked.py (check_signed_by_key): cater for uid_email + None in sponsor notification + 2008-05-03 Joerg Jaspert * config/debian/cron.daily: Rename to diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index abf53fd1..6a6c52d6 100644 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -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): -- 2.39.5