mercurial/templatefilters.py
changeset 16686 67964cda8701
parent 16360 e5788269741a
child 17638 e2711975be00
--- 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: