From c97738841767c6ea92a28747645af4429fddfd22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20A=2E=20Holm?= Date: Sun, 3 Dec 2023 23:05:13 +0100 Subject: [PATCH] jsonfmt.py: format_json(): Fix default value for `indent` The `indent` argument in `format_json()` should have been set to 2 in commit `7f1375f90bdc` ("jsonfmt.py: Change default indent from 4 to 2 spaces", 2015-11-22). No big deal, it has worked for 8.03 years. 86b976a8-9228-11ee-a737-83850402c3ce --- jsonfmt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonfmt.py b/jsonfmt.py index 0ba38790..2c16d353 100755 --- a/jsonfmt.py +++ b/jsonfmt.py @@ -10,7 +10,7 @@ Author: Øyvind A. Holm """ -def format_json(text, indent=4): +def format_json(text, indent=2): """Return formatted JSON""" import json -- 2.11.4.GIT