Skip to content

Commit 8b4b61b

Browse files
committed
Do not use deprecated Type.object in jsonstreams
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent af6a69f commit 8b4b61b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/formattedcode/output_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def write_results(codebase, output_file, pretty=False, **kwargs):
9999

100100
# Begin wri'w' JSON to `output_file`
101101
with jsonstreams.Stream(
102-
jsonstreams.Type.object,
102+
jsonstreams.Type.OBJECT,
103103
fd=output_file,
104104
close_fd=close_fd,
105105
**jsonstreams_kwargs

0 commit comments

Comments
 (0)