Fix for enum changes in 3.10 (#1999)
This commit is contained in:
parent
cd4295dd98
commit
24e8dad575
@ -883,7 +883,7 @@ def format_file_in_place(
|
||||
dst_name = f"{src}\t{now} +0000"
|
||||
diff_contents = diff(src_contents, dst_contents, src_name, dst_name)
|
||||
|
||||
if write_back == write_back.COLOR_DIFF:
|
||||
if write_back == WriteBack.COLOR_DIFF:
|
||||
diff_contents = color_diff(diff_contents)
|
||||
|
||||
with lock or nullcontext():
|
||||
|
Loading…
Reference in New Issue
Block a user