X-Git-Url: http://git.droids-corp.org/?p=diff2html.git;a=blobdiff_plain;f=diff2html.py;h=14094de32ce11d54b9f7c2daf7515a0e68cce2ed;hp=ad6eaeea71c2373aec987829c72f0d3e9c8bc677;hb=d5d43cb0e52cacb457e5c96329e18bf54a2e0ea5;hpb=adac51ce681152158a4165c6cdf3f58363f2d859;ds=sidebyside diff --git a/diff2html.py b/diff2html.py index ad6eaee..14094de 100644 --- 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