comparison 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
comparison
equal deleted inserted replaced
16685:43d55088415a 16686:67964cda8701
704 def lsprofile(ui, func, fp): 704 def lsprofile(ui, func, fp):
705 format = ui.config('profiling', 'format', default='text') 705 format = ui.config('profiling', 'format', default='text')
706 field = ui.config('profiling', 'sort', default='inlinetime') 706 field = ui.config('profiling', 'sort', default='inlinetime')
707 climit = ui.configint('profiling', 'nested', default=5) 707 climit = ui.configint('profiling', 'nested', default=5)
708 708
709 if not format in ['text', 'kcachegrind']: 709 if format not in ['text', 'kcachegrind']:
710 ui.warn(_("unrecognized profiling format '%s'" 710 ui.warn(_("unrecognized profiling format '%s'"
711 " - Ignored\n") % format) 711 " - Ignored\n") % format)
712 format = 'text' 712 format = 'text'
713 713
714 try: 714 try: