File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ def destroy (self):
269269 for binding in self .bindings :
270270 delattr (self , binding )
271271
272- if self .thread .isAlive ():
272+ if self .thread .is_alive ():
273273 debugprint ("Stopping worker thread" )
274274 self .thread .stop ()
275275 GLib .timeout_add_seconds (1 , self ._reap_thread )
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ def run (self):
157157 self .exception = e
158158
159159 def collect_result (self ):
160- if self .isAlive ():
160+ if self .is_alive ():
161161 # We've been canceled.
162162 raise OperationCanceled ()
163163
@@ -212,7 +212,7 @@ def run (self):
212212 return self .thread .collect_result ()
213213
214214 def _check_thread (self ):
215- if self .thread .isAlive ():
215+ if self .thread .is_alive ():
216216 # Thread still running.
217217 return True
218218
You can’t perform that action at this time.
0 commit comments