changeset 2008:e3ddd696394f

flake8: fix E713 style
author Sean Farley <sean@farley.io>
date Tue, 30 Aug 2016 15:23:03 -0700
parents aa3b6cfdf493
children d9c1d140a831
files hgext3rd/topic/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)]