--- a/mercurial/templatefilters.py Sat May 12 16:00:53 2012 +0200
+++ b/mercurial/templatefilters.py Sat May 12 16:00:57 2012 +0200
@@ -260,7 +260,7 @@
>>> person('"Foo Bar <foo@bar>')
'Foo Bar'
"""
- if not '@' in author:
+ if '@' not in author:
return author
f = author.find('<')
if f != -1: