@@ -493,12 +493,14 @@ def is_hg(repository):
else:
_type = repository
return _type == 'hg'
def email_or_none(author):
if not author:
return None
# extract email from the commit string
_email = email(author)
if _email:
# check it against Kallithea database, and use the MAIN email for this
# user
user = User.get_by_email(_email, case_insensitive=True, cache=True)
Status change: