SubprocessExtension: removed some obsolete code. multi_processing

Mon, 14 Dec 2020 19:59:03 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 14 Dec 2020 19:59:03 +0100
branch
multi_processing
changeset 7875
12c621ed4377
parent 7874
8dcb77600690
child 7876
9164a5c0d4a6

SubprocessExtension: removed some obsolete code.

eric6/DebugClients/Python/SubprocessExtension.py file | annotate | diff | comparison | revisions
eric6/Debugger/DebuggerInterfacePython.py file | annotate | diff | comparison | revisions
--- a/eric6/DebugClients/Python/SubprocessExtension.py	Mon Dec 14 19:23:25 2020 +0100
+++ b/eric6/DebugClients/Python/SubprocessExtension.py	Mon Dec 14 19:59:03 2020 +0100
@@ -11,7 +11,7 @@
 import os
 import shlex
 
-from DebugUtilities import isPythonProgram, startsWithShebang, patchArguments
+from DebugUtilities import isPythonProgram, patchArguments
 
 _debugClient = None
 
@@ -57,11 +57,7 @@
                     arguments = arguments[:]
                 ok = isPythonProgram(arguments[0])
                 if ok:
-                    if startsWithShebang(arguments[0]):
-                        scriptName = os.path.basename(arguments[0])
-                    else:
-                        # TODO: this seems to be weird
-                        scriptName = os.path.basename(arguments[0])
+                    scriptName = os.path.basename(arguments[0])
                     if scriptName not in _debugClient.noDebugList:
                         arguments = patchArguments(
                             _debugClient, arguments, noRedirect=True
--- a/eric6/Debugger/DebuggerInterfacePython.py	Mon Dec 14 19:23:25 2020 +0100
+++ b/eric6/Debugger/DebuggerInterfacePython.py	Mon Dec 14 19:59:03 2020 +0100
@@ -554,6 +554,7 @@
                 self.debugServer.masterClientConnected()
             
             self.debugServer.initializeClient(debuggerId)
+            # TODO: show info about new client
             
             # perform auto-continue except for master
             if (

eric ide

mercurial