added tab printing in diff messages
This commit is contained in:
parent
1e5fa13087
commit
75e3cc41ef
|
@ -289,6 +289,8 @@ def _diff_text(left: str, right: str, verbose: int = 0) -> List[str]:
|
|||
line.strip("\n")
|
||||
for line in ndiff(right.splitlines(keepends), left.splitlines(keepends))
|
||||
]
|
||||
for i in range(len(explanation)):
|
||||
explanation[i] = explanation[i].replace(" ", "\t")
|
||||
return explanation
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue