From 690879f558170b72d4544dae1b71252ac467359a Mon Sep 17 00:00:00 2001 From: dece Date: Sat, 29 May 2021 01:14:31 +0200 Subject: [PATCH] identity: indent the file --- bebop/identity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bebop/identity.py b/bebop/identity.py index a7438a6..7e4b98b 100644 --- a/bebop/identity.py +++ b/bebop/identity.py @@ -49,7 +49,7 @@ def save_identities(identities: dict, identities_path: Path): """Save the certificate stash. Return True on success.""" try: with open(identities_path, "wt") as identities_file: - json.dump(identities, identities_file) + json.dump(identities, identities_file, indent=2) except (OSError, ValueError) as exc: logging.error(f"Failed to save identities '{identities_path}': {exc}") return False