Skip to content

Commit caff4e4

Browse files
committed
Use is_alive in favour of isAlive for Python 3.9 compatibility.
1 parent ada2eff commit caff4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyclowder/connectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ def start_thread(self, json_body):
884884

885885
def is_finished(self):
886886
with self.lock:
887-
return self.thread and not self.thread.isAlive() and self.finished and len(self.messages) == 0
887+
return self.thread and not self.thread.is_alive() and self.finished and len(self.messages) == 0
888888

889889
def process_messages(self, channel, rabbitmq_queue):
890890
while self.messages:

0 commit comments

Comments
 (0)