comparison hgext/graphlog.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 efe990445b33
children 19a4b8fd5c48
comparison
equal deleted inserted replaced
9197:a05aa192a00a 9198:061eeb602354
93 elif start == end: 93 elif start == end:
94 interline[2 * start] = "|" 94 interline[2 * start] = "|"
95 else: 95 else:
96 nodeline[2 * end] = "+" 96 nodeline[2 * end] = "+"
97 if start > end: 97 if start > end:
98 (start, end) = (end,start) 98 (start, end) = (end, start)
99 for i in range(2 * start + 1, 2 * end): 99 for i in range(2 * start + 1, 2 * end):
100 if nodeline[i] != "+": 100 if nodeline[i] != "+":
101 nodeline[i] = "-" 101 nodeline[i] = "-"
102 102
103 def get_padding_line(ni, n_columns, edges): 103 def get_padding_line(ni, n_columns, edges):