diff --git a/distgit_bugzilla_sync/script.py b/distgit_bugzilla_sync/script.py index f75b0d2..7678515 100644 --- a/distgit_bugzilla_sync/script.py +++ b/distgit_bugzilla_sync/script.py @@ -228,7 +228,7 @@ class BugzillaProxy: that the bugzilla_email is the key and the username the value. """ for username in self.user_cache: - bz_email = self.user_cache[username]["bugzilla_email"].lower() + bz_email = self.user_cache[username]["email"].lower() self.inverted_user_cache[bz_email] = username def _get_bugzilla_email(self, username):