diff hgext/relink.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 11aad09a6370
children 38caf405d010
line wrap: on
line diff
--- a/hgext/relink.py	Sat May 12 16:00:53 2012 +0200
+++ b/hgext/relink.py	Sat May 12 16:00:57 2012 +0200
@@ -79,7 +79,7 @@
         dirnames.sort()
         relpath = dirpath[len(src) + seplen:]
         for filename in sorted(filenames):
-            if not filename[-2:] in ('.d', '.i'):
+            if filename[-2:] not in ('.d', '.i'):
                 continue
             st = os.stat(os.path.join(dirpath, filename))
             if not stat.S_ISREG(st.st_mode):