# HG changeset patch # User Marcin Kuzminski # Date 2016-07-11 15:30:23 # Node ID 502b7879740ceaed1b3579216100883d6a64faaf # Parent 2deec926b5580aefcd7af03b87e5906ae9537afa helpers: remove bad warning calls introduced in commit c8bec9b70fb9 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