# HG changeset patch # User Marc Villetard # Date 1433839105 -7200 # Node ID 3e1afbd6055f34307026ff6f7551d7c04c83c0c9 # Parent 9c067ee8d368b7890f3cababc9bdfbf31ab8bfe7 helpers: Fix displayed author on changelog_summary_data when no email is set in commit author (Issue #137) diff -r 9c067ee8d368 -r 3e1afbd6055f kallithea/lib/helpers.py --- 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