Strip the bugzilla email in case it has trailing spaces
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
0083b8ee66
commit
c69cc689c1
1 changed files with 3 additions and 3 deletions
|
@ -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"<default: {default_qa_contact_email.split('@', 1)[0]}@...>"
|
||||
)
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue