eric7/Utilities/BackgroundClient.py

branch
eric7
changeset 8468
57ed532d4cde
parent 8312
800c432b34c8
child 8649
01eb78cba360
diff -r bccf0a3fa67c -r 57ed532d4cde eric7/Utilities/BackgroundClient.py
--- a/eric7/Utilities/BackgroundClient.py	Sat Jul 17 15:15:03 2021 +0200
+++ b/eric7/Utilities/BackgroundClient.py	Sat Jul 17 15:42:09 2021 +0200
@@ -178,12 +178,8 @@
                 elif fx.startswith("batch_"):
                     callback = self.batchServices.get(fx)
                     if callback:
-                        try:
-                            callback(data, self.__send, fx, self.__cancelled,
-                                     maxProcesses=self.__maxProcs)
-                        except TypeError:
-                            # for backward compatibility
-                            callback(data, self.__send, fx, self.__cancelled)
+                        callback(data, self.__send, fx, self.__cancelled,
+                                 maxProcesses=self.__maxProcs)
                         ret = "__DONE__"
                     else:
                         ret = 'Unknown batch service.'

eric ide

mercurial