author | Marco Beck <mbeck@miamod.de> |
Wed, 03 Jun 2009 14:50:03 +0200 | |
changeset 8697 | 3d53820381cb |
parent 8696 | 73aa0510740d |
child 8698 | 4ea995e5aac0 |
--- a/mercurial/templatefilters.py Wed Jun 03 14:10:36 2009 +0200 +++ b/mercurial/templatefilters.py Wed Jun 03 14:50:03 2009 +0200 @@ -96,6 +96,7 @@ def person(author): '''get name of author, or else username.''' + if not '@' in author: return author f = author.find('<') if f == -1: return util.shortuser(author) return author[:f].rstrip()