Blame SOURCES/hplip-thread-isalive-removed.patch

7a2b19
diff --git a/copier/copier.py b/copier/copier.py
7a2b19
index a595baa..7794f48 100644
7a2b19
--- a/copier/copier.py
7a2b19
+++ b/copier/copier.py
7a2b19
@@ -73,13 +73,13 @@ class PMLCopyDevice(device.Device):
7a2b19
 
7a2b19
     def isCopyActive(self):
7a2b19
         if self.copy_thread is not None:
7a2b19
-            return self.copy_thread.isAlive()
7a2b19
+            return self.copy_thread.is_alive()
7a2b19
         else:
7a2b19
             return False
7a2b19
 
7a2b19
     def waitForCopyThread(self):
7a2b19
         if self.copy_thread is not None and \
7a2b19
-            self.copy_thread.isAlive():
7a2b19
+            self.copy_thread.is_alive():
7a2b19
 
7a2b19
             self.copy_thread.join()
7a2b19
 
7a2b19
diff --git a/fax/fax.py b/fax/fax.py
7a2b19
index 3d69226..0878a64 100644
7a2b19
--- a/fax/fax.py
7a2b19
+++ b/fax/fax.py
7a2b19
@@ -478,13 +478,13 @@ class FaxDevice(device.Device):
7a2b19
 
7a2b19
     def isSendFaxActive(self):
7a2b19
         if self.send_fax_thread is not None:
7a2b19
-            return self.send_fax_thread.isAlive()
7a2b19
+            return self.send_fax_thread.is_alive()
7a2b19
         else:
7a2b19
             return False
7a2b19
 
7a2b19
     def waitForSendFaxThread(self):
7a2b19
         if self.send_fax_thread is not None and \
7a2b19
-            self.send_fax_thread.isAlive():
7a2b19
+            self.send_fax_thread.is_alive():
7a2b19
 
7a2b19
             try:
7a2b19
                 self.send_fax_thread.join()
7a2b19
diff --git a/fax/pmlfax.py b/fax/pmlfax.py
7a2b19
index b68ff6a..b1020d0 100644
7a2b19
--- a/fax/pmlfax.py
7a2b19
+++ b/fax/pmlfax.py
7a2b19
@@ -179,13 +179,13 @@ class PMLFaxDevice(FaxDevice):
7a2b19
 
7a2b19
     def isUploadLogActive(self):
7a2b19
         if self.upload_log_thread is not None:
7a2b19
-            return self.upload_log_thread.isAlive()
7a2b19
+            return self.upload_log_thread.is_alive()
7a2b19
         else:
7a2b19
             return False
7a2b19
 
7a2b19
     def waitForUploadLogThread(self):
7a2b19
         if self.upload_log_thread is not None and \
7a2b19
-            self.upload_log_thread.isAlive():
7a2b19
+            self.upload_log_thread.is_alive():
7a2b19
 
7a2b19
             self.upload_log_thread.join()
7a2b19
 
7a2b19
diff --git a/scan/sane.py b/scan/sane.py
7a2b19
index b6c4acd..e8f8db8 100755
7a2b19
--- a/scan/sane.py
7a2b19
+++ b/scan/sane.py
7a2b19
@@ -378,14 +378,14 @@ class ScanDevice:
7a2b19
 
7a2b19
     def isScanActive(self):
7a2b19
         if self.scan_thread is not None:
7a2b19
-            return self.scan_thread.isAlive() and self.scan_thread.scan_active
7a2b19
+            return self.scan_thread.is_alive() and self.scan_thread.scan_active
7a2b19
         else:
7a2b19
             return False
7a2b19
 
7a2b19
 
7a2b19
     def waitForScanDone(self):
7a2b19
         if self.scan_thread is not None and \
7a2b19
-            self.scan_thread.isAlive() and \
7a2b19
+            self.scan_thread.is_alive() and \
7a2b19
             self.scan_thread.scan_active:
7a2b19
 
7a2b19
             try:
7a2b19
@@ -398,9 +398,9 @@ class ScanDevice:
7a2b19
         #time.sleep(0.5)
7a2b19
         if self.scan_thread is not None:
7a2b19
             while True:
7a2b19
-                #print self.scan_thread.isAlive()
7a2b19
+                #print self.scan_thread.is_alive()
7a2b19
                 #print self.scan_thread.scan_active
7a2b19
-                if self.scan_thread.isAlive() and \
7a2b19
+                if self.scan_thread.is_alive() and \
7a2b19
                     self.scan_thread.scan_active:
7a2b19
                     return
7a2b19