Skip to content

Commit

Permalink
fix presubmit checks
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-go committed Dec 26, 2023
1 parent 67ce1d7 commit fc812a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion experiment/build/build_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def store_mua_run_log(run_output, benchmark, fuzzer, cycle):

def store_report_error_log(report_error):
"""Save mua stats_db in the mua bucket."""
timestamp_filename = datetime.datetime.now().strftime("%Y_%m_%d-%H_%M_%S")
timestamp_filename = datetime.datetime.now().strftime('%Y_%m_%d-%H_%M_%S')
with tempfile.NamedTemporaryFile(mode='w') as tmp:
tmp.write(report_error)
tmp.flush()
Expand Down
5 changes: 2 additions & 3 deletions experiment/measurer/run_mua.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from common import new_process
from experiment.build import build_utils


logger = logs.Logger()

# Exec id is used to identify the current run, if the dispatcher container
Expand Down Expand Up @@ -86,5 +85,5 @@ def run_mua_build_ids(benchmark, trial_num, fuzzer, cycle):
logger.info(f'mua_build_ids command: {docker_exec_command}')
mua_build_res = new_process.execute(docker_exec_command)
logger.info(f'mua_build_ids result: {mua_build_res}')
build_utils.store_mua_build_log(mua_build_res.output, benchmark,
fuzzer, cycle)
build_utils.store_mua_build_log(mua_build_res.output, benchmark, fuzzer,
cycle)

0 comments on commit fc812a6

Please sign in to comment.