Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/webcommands.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 | 31177742f54a |
children | 4483af166c61 |
comparison
equal
deleted
inserted
replaced
9197:a05aa192a00a | 9198:061eeb602354 |
---|---|
337 def tags(web, req, tmpl): | 337 def tags(web, req, tmpl): |
338 i = web.repo.tagslist() | 338 i = web.repo.tagslist() |
339 i.reverse() | 339 i.reverse() |
340 parity = paritygen(web.stripecount) | 340 parity = paritygen(web.stripecount) |
341 | 341 |
342 def entries(notip=False,limit=0, **map): | 342 def entries(notip=False, limit=0, **map): |
343 count = 0 | 343 count = 0 |
344 for k, n in i: | 344 for k, n in i: |
345 if notip and k == "tip": | 345 if notip and k == "tip": |
346 continue | 346 continue |
347 if limit > 0 and count >= limit: | 347 if limit > 0 and count >= limit: |