Another threading.getName() to .name attribute
This commit is contained in:
parent
72600a4251
commit
3bf5346766
@ -209,7 +209,7 @@ def exe(cmd):
|
||||
|
||||
cmd_num_dict['cmd_num'] += 1
|
||||
cmd_num = cmd_num_dict['cmd_num']
|
||||
th_name = threading.current_thread().getName()
|
||||
th_name = threading.current_thread().name
|
||||
|
||||
log('Executing Command-{} {} with timeout {}s in {}'.format(
|
||||
cmd_num,
|
||||
@ -350,7 +350,7 @@ def pop(cmd):
|
||||
else:
|
||||
wait_time = 30
|
||||
|
||||
th_name = threading.current_thread().getName()
|
||||
th_name = threading.current_thread().name
|
||||
|
||||
log('Executing Command-{} {} with timeout {}s in {}'.format(
|
||||
cmd_num,
|
||||
|
Loading…
Reference in New Issue
Block a user