Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 61f0ffa

Browse files
author
Sergey Vasilyev
committed
Show unidentified types of diff lines in grey instead of failing
1 parent 98974d0 commit 61f0ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_diff/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def _data_diff(
519519

520520
else:
521521
for op, values in diff_iter:
522-
color = COLOR_SCHEME[op]
522+
color = COLOR_SCHEME.get(op, "grey62")
523523

524524
if json_output:
525525
jsonl = json.dumps([op, list(values)])

0 commit comments

Comments
 (0)