From 5c8b7c565c19c6f03dd3439914a4fd62cf446943 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Wed, 13 Nov 2024 12:07:14 -0800 Subject: [PATCH] [test] clean up python deprecation notice --- openfpga_flow/scripts/run_fpga_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openfpga_flow/scripts/run_fpga_task.py b/openfpga_flow/scripts/run_fpga_task.py index 966468eb1..b788a3307 100644 --- a/openfpga_flow/scripts/run_fpga_task.py +++ b/openfpga_flow/scripts/run_fpga_task.py @@ -542,7 +542,7 @@ def strip_child_logger_info(line): def run_single_script(s, eachJob, job_list): with s: - thread_name = threading.currentThread().getName() + thread_name = threading.current_thread().name eachJob["starttime"] = time.time() try: logfile = "%s_out.log" % thread_name