diff -r 43d55088415a -r 67964cda8701 mercurial/dispatch.py --- 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'