Mercurial > kallithea
changeset 5170:3e1afbd6055f stable
helpers: Fix displayed author on changelog_summary_data when no email is set in commit author (Issue #137)
author | Marc Villetard <marc.villetard@gmail.com> |
---|---|
date | Tue, 09 Jun 2015 10:38:25 +0200 |
parents | 9c067ee8d368 |
children | 1e079752b756 |
files | kallithea/lib/helpers.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/lib/helpers.py Fri May 29 18:18:23 2015 +0200 +++ b/kallithea/lib/helpers.py Tue Jun 09 10:38:25 2015 +0200 @@ -479,7 +479,7 @@ def user_or_none(author): email = author_email(author) - if email is not None: + if email: user = User.get_by_email(email, case_insensitive=True, cache=True) if user is not None: return user