Merge "Make our json output prettier."

This commit is contained in:
Jenkins 2017-09-25 20:51:36 +00:00 committed by Gerrit Code Review
commit 211d7f32dc
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ for infile in infiles:
outfile = os.path.join(os.path.dirname(infile), "hashed-" + os.path.basename(infile))
with open(outfile, 'w') as out_f:
os.chmod(out_f.name, 0600)
json.dump(infile_data, out_f)
json.dump(infile_data, out_f, indent=2)
if not success:
sys.exit(1)