Show More
@@ -2575,6 +2575,9 b' def _inlinediff(s1, s2, operation):' | |||||
2575 | token = '+' |
|
2575 | token = '+' | |
2576 | s2 = s2[1:] |
|
2576 | s2 = s2[1:] | |
2577 | s1 = s1[1:] |
|
2577 | s1 = s1[1:] | |
|
2578 | else: | |||
|
2579 | raise error.ProgrammingError("Case not expected, operation = %s" % | |||
|
2580 | operation) | |||
2578 |
|
2581 | |||
2579 | s = difflib.ndiff(re.split(br'(\W)', s2), re.split(br'(\W)', s1)) |
|
2582 | s = difflib.ndiff(re.split(br'(\W)', s2), re.split(br'(\W)', s1)) | |
2580 | for part in s: |
|
2583 | for part in s: |
General Comments 0
You need to be logged in to leave comments.
Login now