From 2f3c764642022da89c0f7bfe7f9ca672224fd9ff Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Mon, 11 Jul 2016 17:30:23 +0200 Subject: [PATCH] helpers: remove bad warning calls introduced in commit c8bec9b70fb9 --- rhodecode/lib/helpers.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py index 566c8ffe..513b2e59 100644 --- 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