aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStevan Radaković <stevan.radakovic@linaro.org>2013-04-11 16:29:01 +0200
committerStevan Radaković <stevan.radakovic@linaro.org>2013-04-11 16:29:01 +0200
commite6c5d28a9fb559c3b512f3599d48b7cf9e861e63 (patch)
tree8f2053b76a91cd6486cc838115ffab84d35deae2
parentd6a4c2fb892a626f073a7a51d5095eb1402cc2e3 (diff)
downloadrhodecode-bug1167241.tar.gz
Remove return line for _email so name can be picked up from git changeset.bug1167241
-rw-r--r--rhodecode/lib/helpers.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py
index 2f07361..6b161b8 100644
--- a/rhodecode/lib/helpers.py
+++ b/rhodecode/lib/helpers.py
@@ -428,7 +428,6 @@ def person(author, show_attr="username_and_name"):
user = User.get_by_email(_email, case_insensitive=True, cache=True)
if user is not None:
return person_getter(user)
- return _email
# Maybe it's a username?
_author = author_name(author)