Last active
February 1, 2019 15:37
-
-
Save foolip/3be27fa5b8c57ec1121eff4c32fdefb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import sys | |
for filename in sys.argv[1:]: | |
with open(filename, "r") as f: | |
report = json.load(f) | |
report["run_info"]["product"] = "edge" | |
report["run_info"]["comment"] = "original report modified to set product to edge" | |
with open(filename, "w") as f: | |
json.dump(report, f, sort_keys=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment