diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py --- a/rhodecode/lib/helpers.py +++ b/rhodecode/lib/helpers.py @@ -788,16 +788,14 @@ def discover_user(author): def email_or_none(author): # extract email from the commit string _email = author_email(author) - log.warning('email_or_none author: %s' % (author)) - log.warning('email_or_none _email: %s' % (_email)) # If we have an email, use it, otherwise # see if it contains a username we can get an email from if _email != '': return _email else: - user = User.get_by_username(author_name(author), case_insensitive=True, - cache=True) + user = User.get_by_username( + author_name(author), case_insensitive=True, cache=True) if user is not None: return user.email