From 5579d8e76b36f4ada001f5e53c8f937280aa71b6 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 1 Dec 2016 17:30:13 +0000 Subject: [PATCH] Make this pretty, for readability. --- .../manual/staging-sync/scripts/export-pkgdb-stg-modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/manual/staging-sync/scripts/export-pkgdb-stg-modules.py b/playbooks/manual/staging-sync/scripts/export-pkgdb-stg-modules.py index a82fe677ef..8e06096cb5 100644 --- a/playbooks/manual/staging-sync/scripts/export-pkgdb-stg-modules.py +++ b/playbooks/manual/staging-sync/scripts/export-pkgdb-stg-modules.py @@ -16,6 +16,6 @@ response = requests.get( ) data = response.json() with open(filename, 'wb') as f: - f.write(json.dumps(data).encode('utf-8')) + f.write(json.dumps(data, indent=2).encode('utf-8')) print "Wrote %s" % filename