diff --git a/distgit_bugzilla_sync/script.py b/distgit_bugzilla_sync/script.py index 258144a..d24f9cd 100644 --- a/distgit_bugzilla_sync/script.py +++ b/distgit_bugzilla_sync/script.py @@ -255,7 +255,7 @@ class BugzillaProxy: bz_email = bz_email.lower() self.inverted_user_cache[bz_email] = username bz_email = email_overrides.get(bz_email, bz_email) - return bz_email + return bz_email.strip() def update_open_bugs(self, new_poc, prev_poc, product, name, print_fas_names=False): """Change the package owner @@ -391,10 +391,10 @@ class BugzillaProxy: f"" ) if qacontact: - qacontact_email = self._get_bugzilla_email(qacontact) + qacontact_email = self._get_bugzilla_email(qacontact).strip() else: qacontact = default_qa_contact - qacontact_email = default_qa_contact_email + qacontact_email = default_qa_contact_email.strip() pkg_key = package.lower() if pkg_key in product: