Skip to content

Commit

Permalink
indent with tab when dumping JSON to align with MediaWiki (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
JJMC89 authored Dec 25, 2024
1 parent fd10760 commit 70533e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enwiki/massmessage_list_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def treat_page(self) -> None:
page_dict.pop(">nonusers") | set(page_dict.values())
):
new_page_json["targets"].append({"title": page.title()})
text = json.dumps(new_page_json, ensure_ascii=False, indent=4)
text = json.dumps(new_page_json, ensure_ascii=False, indent="\t")
if added_count + removed_count + renamed_count == 0:
return
summary_parts = []
Expand Down

0 comments on commit 70533e9

Please sign in to comment.