test:alter crashgen report

This commit is contained in:
happyguoxy 2024-11-21 18:05:58 +08:00
parent 7baf371628
commit c02e4085d6
1 changed files with 12 additions and 12 deletions

View File

@ -366,18 +366,18 @@ def main():
core_dir = "none" core_dir = "none"
text = f''' text = f'''
Result: {msg_dict[status]} Result: {msg_dict[status]}
Details Details
Owner: Jayden Jia Owner: Jayden Jia
Start time: {starttime} Start time: {starttime}
End time: {endtime} End time: {endtime}
Hostname: {hostname} Hostname: {hostname}
Commit: {git_commit} Commit: {git_commit}
Cmd: {cmd} Cmd: {cmd}
Log dir: {log_dir} Log dir: {log_dir}
Core dir: {core_dir} Core dir: {core_dir}
''' '''
text_result=text.split("Result: ")[1].split("Details")[0].strip() text_result=text.split("Result: ")[1].split("Details")[0].strip()
print(text_result) print(text_result)