Mercurial > hg-stable
changeset 38154:10befe8e8b59
githelp: rewrite a Yoda conditional
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 21 May 2018 22:57:05 -0400 |
parents | 16463278e7f4 |
children | 26b73fad45d9 |
files | hgext/githelp.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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:]