( file_path, msg_output, line_number)
| 17 | list_temp = {} |
| 18 | |
| 19 | def update_struct( file_path, msg_output, line_number): |
| 20 | if file_path not in list_temp: |
| 21 | list_temp[file_path] = [] |
| 22 | list_temp[file_path].append({ |
| 23 | "robot_id" : "checkpatch", |
| 24 | "robot_run_id" : sys.argv[3], |
| 25 | "url" : sys.argv[4], |
| 26 | "line" : line_number, |
| 27 | "message" : "`" + msg_output + "`", |
| 28 | }) |
| 29 | |
| 30 | def parse_file(input_file): |
| 31 | fp = open (input_file, "r") |