# HG changeset patch # User Marc Villetard # Date 2015-06-09 10:38:25 # Node ID 3e1afbd6055f34307026ff6f7551d7c04c83c0c9 # Parent 9c067ee8d368b7890f3cababc9bdfbf31ab8bfe7 helpers: Fix displayed author on changelog_summary_data when no email is set in commit author (Issue #137) diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py +++ b/kallithea/lib/helpers.py @@ -479,7 +479,7 @@ def is_hg(repository): 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