apply email overrides map to BZ emails

fixes: #12

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2019-11-22 12:13:41 +01:00
parent 7f22f1d3c1
commit 6e479a6a05

View file

@ -221,6 +221,7 @@ class BugzillaProxy:
self.user_cache[username] = {'bugzilla_email': bz_email}
bz_email = bz_email.lower()
self.inverted_user_cache[bz_email] = username
bz_email = email_overrides.get(bz_email, bz_email)
return bz_email
def add_edit_component(self, package, collection, owner, description=None,