diff mercurial/dispatch.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 c2d9ef43ff6c
line wrap: on
line diff
--- a/mercurial/dispatch.py	Sat May 12 16:00:53 2012 +0200
+++ b/mercurial/dispatch.py	Sat May 12 16:00:57 2012 +0200
@@ -706,7 +706,7 @@
     field = ui.config('profiling', 'sort', default='inlinetime')
     climit = ui.configint('profiling', 'nested', default=5)
 
-    if not format in ['text', 'kcachegrind']:
+    if format not in ['text', 'kcachegrind']:
         ui.warn(_("unrecognized profiling format '%s'"
                     " - Ignored\n") % format)
         format = 'text'