eric7/DebugClients/Python/ModuleLoader.py

branch
eric7
changeset 8314
e3642a6a1e71
parent 8312
800c432b34c8
child 8831
9d676f442b1b
--- a/eric7/DebugClients/Python/ModuleLoader.py	Sat May 15 19:01:16 2021 +0200
+++ b/eric7/DebugClients/Python/ModuleLoader.py	Sat May 15 20:08:03 2021 +0200
@@ -63,50 +63,50 @@
         ## Add hook for _thread.start_new_thread
         if (
             fullname in ('thread', '_thread') and
-            not hasattr(module, 'eric6_patched')
+            not hasattr(module, 'eric7_patched')
         ):
-            module.eric6_patched = True
+            module.eric7_patched = True
             self.__dbgClient.patchPyThread(module)
         
         ## Add hook for threading.run()
         elif (
             fullname == "threading" and
-            not hasattr(module, 'eric6_patched')
+            not hasattr(module, 'eric7_patched')
         ):
-            module.eric6_patched = True
+            module.eric7_patched = True
             self.__dbgClient.patchPyThreading(module)
         
         ## greenlet support
         elif (
             fullname == 'greenlet' and
-            not hasattr(module, 'eric6_patched')
+            not hasattr(module, 'eric7_patched')
         ):
             if self.__dbgClient.patchGreenlet(module):
-                module.eric6_patched = True
+                module.eric7_patched = True
         
         ## Add hook for subprocess.Popen()
         elif (
             fullname == 'subprocess' and
-            not hasattr(module, 'eric6_patched')
+            not hasattr(module, 'eric7_patched')
         ):
-            module.eric6_patched = True
+            module.eric7_patched = True
             patchSubprocess(module, self.__dbgClient)
         
         ## Add hook for multiprocessing.Process
         elif (
             fullname == 'multiprocessing' and
-            not hasattr(module, 'eric6_patched')
+            not hasattr(module, 'eric7_patched')
         ):
-            module.eric6_patched = True
+            module.eric7_patched = True
             patchMultiprocessing(module, self.__dbgClient)
         
         ## Add hook for *.QThread and *.QProcess
         elif (
             fullname in ('PyQt5.QtCore', 'PyQt6.QtCore',
                          'PySide2.QtCore', 'PySide6.QtCore') and
-            not hasattr(module, 'eric6_patched')
+            not hasattr(module, 'eric7_patched')
         ):
-            module.eric6_patched = True
+            module.eric7_patched = True
             self.__dbgClient.patchQThread(module)
             patchQProcess(module, self.__dbgClient)
         

eric ide

mercurial