scripts/patch_modpython.py

branch
eric7
changeset 8314
e3642a6a1e71
parent 7960
e8fc383322f7
--- a/scripts/patch_modpython.py	Sat May 15 19:01:16 2021 +0200
+++ b/scripts/patch_modpython.py	Sat May 15 20:08:03 2021 +0200
@@ -95,12 +95,12 @@
     with open(sn, "w", encoding="utf-8") as s:
         for line in lines:
             if not pdbFound and line.startswith("import pdb"):
-                s.write("import eric6.DebugClients.Python.eric6dbgstub as"
+                s.write("import eric7.DebugClients.Python.eric7dbgstub as"
                         " pdb\n")
                 pdbFound = True
             else:
                 s.write(line)
-                if line.startswith("import eric6"):
+                if line.startswith("import eric7"):
                     ericFound = True
         
         if not ericFound:

eric ide

mercurial