From 711940af678552b3ea1e604da6596720d44ea297 Mon Sep 17 00:00:00 2001 From: David Gasparian Date: Fri, 5 Aug 2016 12:41:03 +0400 Subject: [PATCH] Make write_config() to output indented JSON into file --- bigchaindb/config_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigchaindb/config_utils.py b/bigchaindb/config_utils.py index 7d469504..81f8ed46 100644 --- a/bigchaindb/config_utils.py +++ b/bigchaindb/config_utils.py @@ -209,7 +209,7 @@ def write_config(config, filename=None): filename = CONFIG_DEFAULT_PATH with open(filename, 'w') as f: - json.dump(config, f) + json.dump(config, f, indent=4) def autoconfigure(filename=None, config=None, force=False):