420
422
# with newly-added files.
422
424
def diffit(oldlines, newlines, **kw):
423
426
# FIXME: difflib is wrong if there is no trailing newline.
425
437
# Special workaround for Python2.3, where difflib fails if
426
438
# both sequences are empty.
431
457
if file_state in ['.', '?', 'I']: