diff hgext/extdiff.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 55174ab81973
children 38caf405d010
line wrap: on
line diff
--- a/hgext/extdiff.py	Sat May 12 16:00:53 2012 +0200
+++ b/hgext/extdiff.py	Sat May 12 16:00:57 2012 +0200
@@ -88,7 +88,7 @@
     ctx = repo[node]
     for fn in files:
         wfn = util.pconvert(fn)
-        if not wfn in ctx:
+        if wfn not in ctx:
             # File doesn't exist; could be a bogus modify
             continue
         ui.note('  %s\n' % wfn)