Mercurial > public > mercurial-scm > hg-stable
diff mercurial/patch.py @ 16686:67964cda8701
cleanup: "not x in y" -> "x not in y"
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Sat, 12 May 2012 16:00:57 +0200 |
parents | 525fdb738975 |
children | e34106fa0dc3 |
line wrap: on
line diff
--- a/mercurial/patch.py Sat May 12 16:00:53 2012 +0200 +++ b/mercurial/patch.py Sat May 12 16:00:57 2012 +0200 @@ -1659,7 +1659,7 @@ if line.startswith('@'): head = False else: - if line and not line[0] in ' +-@\\': + if line and line[0] not in ' +-@\\': head = True stripline = line if not head and line and line[0] in '+-':