Merge "Make our json output prettier."
This commit is contained in:
@@ -381,7 +381,7 @@ for infile in infiles:
|
|||||||
outfile = os.path.join(os.path.dirname(infile), "hashed-" + os.path.basename(infile))
|
outfile = os.path.join(os.path.dirname(infile), "hashed-" + os.path.basename(infile))
|
||||||
with open(outfile, 'w') as out_f:
|
with open(outfile, 'w') as out_f:
|
||||||
os.chmod(out_f.name, 0600)
|
os.chmod(out_f.name, 0600)
|
||||||
json.dump(infile_data, out_f)
|
json.dump(infile_data, out_f, indent=2)
|
||||||
|
|
||||||
if not success:
|
if not success:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Reference in New Issue
Block a user