Skip to content
Snippets Groups Projects
Commit d33572fc authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Tidy the generation of the interline diff strings.

parent 98c46661
No related branches found
No related tags found
No related merge requests found
......@@ -427,7 +427,8 @@ def linediff(s, t, diffon, diffoff):
s1 = "".join(to_string(*p) for p in l1)
t1 = "".join(to_string(*p) for p in l2)
return prefix + s1 + suffix, prefix + t1 + suffix
return f"{prefix}{s1}{suffix}", f"{prefix}{t1}{suffix}"
def linediff_wagnerfischer(s, t):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment