MCPcopy Create free account
hub / github.com/coreboot/coreboot / main

Function main

util/lint/checkpatch_json.py:51–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 fp.close()
50
51def main():
52 if (len(sys.argv) < 5) or (sys.argv[1] == "-h"):
53 print("HELP:")
54 print(sys.argv[0] + " <input file> <output file in json> <job-id> <job-url>")
55 sys.exit()
56
57 print(sys.argv[1])
58 parse_file(sys.argv[1])
59 data['robot_comments'] = list_temp
60 print(json.dumps(data))
61 out_file = open( sys.argv[2] , "w")
62 json.dump(data, out_file, sort_keys=True, indent=4)
63 out_file.close()
64
65if __name__ == "__main__":
66 main()

Callers 1

checkpatch_json.pyFile · 0.70

Calls 2

printFunction · 0.85
parse_fileFunction · 0.85

Tested by

no test coverage detected