mirror of https://github.com/Qiskit/qiskit.git
Replace deprecated threading.currentThread with current_thread (#8168)
This commit is contained in:
parent
a18df1456c
commit
5d1205a84a
|
@ -236,7 +236,7 @@ def update_backend_info(self, interval=60):
|
|||
"""Updates the monitor info
|
||||
Called from another thread.
|
||||
"""
|
||||
my_thread = threading.currentThread()
|
||||
my_thread = threading.current_thread()
|
||||
current_interval = 0
|
||||
started = False
|
||||
all_dead = False
|
||||
|
|
Loading…
Reference in New Issue