DebugClients/Python/ThreadExtension.py

changeset 5965
b8d53f4149c8
parent 5918
d89cd224dd1b
child 6004
548a9ba8c970
child 6048
82ad8ec9548c
--- a/DebugClients/Python/ThreadExtension.py	Wed Nov 08 19:05:55 2017 +0100
+++ b/DebugClients/Python/ThreadExtension.py	Thu Nov 09 18:31:34 2017 +0100
@@ -328,7 +328,7 @@
                     # intercept the thread creation by threading.Thread
                     self.run = lambda s=self, run=self.run: _bootstrap(s, run)
                     
-                    module.Thread.__init__(self, *args, **kwargs)
+                    super(ThreadWrapper, self).__init__(*args, **kwargs)
             
             module.Thread = ThreadWrapper
         

eric ide

mercurial