git.droids-corp.org
/
diff2html.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cosmetic: replace "max" by "max_len"
[diff2html.git]
/
diff2html.py
diff --git
a/diff2html.py
b/diff2html.py
index
ad6eaee
..
14094de
100644
(file)
--- a/
diff2html.py
+++ b/
diff2html.py
@@
-283,8
+283,8
@@
def empty_buffer():
l0.append(l[0])
if l[1] != None:
l1.append(l[1])
- max = (len(l0) > len(l1)) and len(l0) or len(l1)
- for i in range(max):
+ max
_len
= (len(l0) > len(l1)) and len(l0) or len(l1)
+ for i in range(max
_len
):
s0, s1 = "", ""
if i<len(l0):
s0 = l0[i]