Skip to content

Commit 74aeddd

Browse files
Merge pull request #46 from mozilla/comment-update
Updating json dump to pretty print
2 parents eef4ebe + 8f7ad24 commit 74aeddd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/jbi/bugzilla.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,9 @@ def map_as_tuple_of_field_dict_and_comments(
231231
if change.field == "reporter":
232232
update_fields[change.field] = change.added
233233

234-
comments_as_str: List[str] = [json.dumps(comment) for comment in comments]
234+
comments_as_str: List[str] = [
235+
json.dumps(comment, indent=4) for comment in comments
236+
]
235237
return update_fields, comments_as_str
236238

237239

0 commit comments

Comments
 (0)