Merge "Make our json output prettier."
This commit is contained in:
commit
211d7f32dc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user