diff mercurial/pure/osutil.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 ee553e6cd8c4
children 72fa4ef2245f
line wrap: on
line diff
--- a/mercurial/pure/osutil.py	Sat May 12 16:00:53 2012 +0200
+++ b/mercurial/pure/osutil.py	Sat May 12 16:00:57 2012 +0200
@@ -119,7 +119,7 @@
                 flags = _O_TEXT
 
             m0 = mode[0]
-            if m0 == 'r' and not '+' in mode:
+            if m0 == 'r' and '+' not in mode:
                 flags |= _O_RDONLY
                 access = _GENERIC_READ
             else: