flake8: fix E713 style
authorSean Farley <sean@farley.io>
Tue, 30 Aug 2016 15:23:03 -0700
changeset 2008 e3ddd696394f
parent 2007 aa3b6cfdf493
child 2009 d9c1d140a831
flake8: fix E713 style
hgext3rd/topic/__init__.py
--- a/hgext3rd/topic/__init__.py	Tue Aug 30 15:22:24 2016 -0700
+++ b/hgext3rd/topic/__init__.py	Tue Aug 30 15:23:03 2016 -0700
@@ -84,7 +84,7 @@
             msg = _('cannot resolve "%s": topic "%s" has only %d changesets')
             raise error.Abort(msg % (name, topic, len(revs)))
         return [repo[r].node()]
-    if not name in repo.topics:
+    if name not in repo.topics:
         return []
     return [ctx.node() for ctx in
             repo.set('not public() and extra(topic, %s)', name)]