comparison mercurial/hgweb/webcommands.py @ 10394:4612cded5176

fix coding style (reported by pylint)
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Mon, 08 Feb 2010 15:36:34 +0100
parents 08a0f04b56bd
children 716e176a4e01
comparison
equal deleted inserted replaced
10393:217703f760d1 10394:4612cded5176
705 count = len(web.repo) 705 count = len(web.repo)
706 changenav = webutil.revnavgen(rev, revcount, count, web.repo.changectx) 706 changenav = webutil.revnavgen(rev, revcount, count, web.repo.changectx)
707 707
708 dag = graphmod.revisions(web.repo, rev, downrev) 708 dag = graphmod.revisions(web.repo, rev, downrev)
709 tree = list(graphmod.colored(dag)) 709 tree = list(graphmod.colored(dag))
710 canvasheight = (len(tree) + 1) * bg_height - 27; 710 canvasheight = (len(tree) + 1) * bg_height - 27
711 data = [] 711 data = []
712 for (id, type, ctx, vtx, edges) in tree: 712 for (id, type, ctx, vtx, edges) in tree:
713 if type != graphmod.CHANGESET: 713 if type != graphmod.CHANGESET:
714 continue 714 continue
715 node = short(ctx.node()) 715 node = short(ctx.node())