comparison hgext/mq.py @ 9198:061eeb602354

coding style: use a space after comma I left a cases like 'lambda x,y:' alone -- the lack of a space does not bother me as much when the variables are single letters.
author Martin Geisler <mg@lazybytes.net>
date Wed, 22 Jul 2009 23:12:54 +0200
parents b67adc2daa15
children 39426716a07e 74e717a21779
comparison
equal deleted inserted replaced
9197:a05aa192a00a 9198:061eeb602354
1848 return 1 1848 return 1
1849 return q.qseries(repo, start=l-2, length=1, status='A', 1849 return q.qseries(repo, start=l-2, length=1, status='A',
1850 summary=opts.get('summary')) 1850 summary=opts.get('summary'))
1851 1851
1852 def setupheaderopts(ui, opts): 1852 def setupheaderopts(ui, opts):
1853 def do(opt,val): 1853 def do(opt, val):
1854 if not opts[opt] and opts['current' + opt]: 1854 if not opts[opt] and opts['current' + opt]:
1855 opts[opt] = val 1855 opts[opt] = val
1856 do('user', ui.username()) 1856 do('user', ui.username())
1857 do('date', "%d %d" % util.makedate()) 1857 do('date', "%d %d" % util.makedate())
1858 1858