equal
deleted
inserted
replaced
2478 endofline = token[len(chomp):] |
2478 endofline = token[len(chomp):] |
2479 token = chomp.rstrip() # detect spaces at the end |
2479 token = chomp.rstrip() # detect spaces at the end |
2480 endspaces = chomp[len(token):] |
2480 endspaces = chomp[len(token):] |
2481 # scan tabs |
2481 # scan tabs |
2482 for maybetab in tabsplitter.findall(token): |
2482 for maybetab in tabsplitter.findall(token): |
2483 if '\t' == maybetab[0]: |
2483 if b'\t' == maybetab[0:1]: |
2484 currentlabel = 'diff.tab' |
2484 currentlabel = 'diff.tab' |
2485 else: |
2485 else: |
2486 if changed: |
2486 if changed: |
2487 currentlabel = label + '.changed' |
2487 currentlabel = label + '.changed' |
2488 else: |
2488 else: |