From 011774ef4616cefaa7818eea46ceb7fd89eacf9b Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 20 Nov 2019 11:07:24 +0100 Subject: [PATCH] When an invalid account is found, inform about the package concerned Signed-off-by: Pierre-Yves Chibon --- distgit_bugzilla_sync/script.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/distgit_bugzilla_sync/script.py b/distgit_bugzilla_sync/script.py index 12bc3d2..72013ef 100644 --- a/distgit_bugzilla_sync/script.py +++ b/distgit_bugzilla_sync/script.py @@ -225,14 +225,15 @@ class BugzillaProxy: if bz_email: initialCCList.append(bz_email) else: - print(f"** {cc} has no bugzilla_email or mailing_list set **") + print(f"** {cc} has no bugzilla_email or mailing_list set " + f"({collection}/{package}) **") if cclist and 'groups' in cclist: for cc in cclist["groups"]: bz_email = self._get_bugzilla_email(cc) if bz_email: initialCCList.append(bz_email) else: - print(f"** {cc} has no mailing-list set in FAS! **") + print(f"** {cc} has no mailing-list set in FAS! ({collection}/{package}) **") # Add owner to the cclist so comaintainers taking over a bug don't # have to do this manually