[test] clean up python deprecation notice
This commit is contained in:
parent
6369787a50
commit
5c8b7c565c
|
@ -542,7 +542,7 @@ def strip_child_logger_info(line):
|
||||||
|
|
||||||
def run_single_script(s, eachJob, job_list):
|
def run_single_script(s, eachJob, job_list):
|
||||||
with s:
|
with s:
|
||||||
thread_name = threading.currentThread().getName()
|
thread_name = threading.current_thread().name
|
||||||
eachJob["starttime"] = time.time()
|
eachJob["starttime"] = time.time()
|
||||||
try:
|
try:
|
||||||
logfile = "%s_out.log" % thread_name
|
logfile = "%s_out.log" % thread_name
|
||||||
|
|
Loading…
Reference in New Issue