# HG changeset patch # User Matt Harbison # Date 1526957825 14400 # Node ID 10befe8e8b596f3e65a8b6dccbd6e060825781e9 # Parent 16463278e7f47a280b3c4e0cf494f2a4e4308739 githelp: rewrite a Yoda conditional diff -r 16463278e7f4 -r 10befe8e8b59 hgext/githelp.py --- a/hgext/githelp.py Mon May 21 22:55:17 2018 -0400 +++ b/hgext/githelp.py Mon May 21 22:57:05 2018 -0400 @@ -962,7 +962,7 @@ if not args: raise error.Abort(_('missing svn command')) svncmd = args[0] - if not svncmd in gitsvncommands: + if svncmd not in gitsvncommands: raise error.Abort(_('unknown git svn command "%s"') % (svncmd)) args = args[1:]