Skip to content

Commit 0a0d114

Browse files
committed
Code cleanup
1 parent d682d02 commit 0a0d114

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,23 +57,23 @@ def extract_response_and_result(results_path, client, test_case_name, gas_used,
5757
if not os.path.exists(result_file):
5858
# print("No result: " + result_file)
5959
print("No result")
60-
return False, 0, 0, 0
60+
return False, 0, 0, 0, 0, 0
6161
if not os.path.exists(response_file):
6262
print("No repsonse")
63-
return False, 0, 0, 0
63+
return False, 0, 0, 0, 0, 0
6464
# Get the responses from the files
6565
with open(response_file, 'r') as file:
6666
text = file.read()
6767
if len(text) == 0:
6868
print("text len 0")
69-
return False, 0, 0, 0
69+
return False, 0, 0, 0, 0, 0
7070
# Get latest line
7171
for line in text.split('\n'):
7272
if len(line) < 1:
7373
continue
7474
if not check_sync_status(line):
7575
print("Invalid sync status")
76-
return False, 0, 0, 0
76+
return False, 0, 0, 0, 0, 0
7777
# Get the results from the files
7878
with open(result_file, 'r') as file:
7979
sections = read_results(file.read())

0 commit comments

Comments
 (0)