src/eric7/DebugClients/Python/DebugUtilities.py

branch
eric7
changeset 9571
0e2ab682dfa3
parent 9500
5771348ded12
child 9653
e67609152c5e
equal deleted inserted replaced
9570:481cc0d3699d 9571:0e2ab682dfa3
293 @param noRedirect flag indicating to not redirect stdin and stdout 293 @param noRedirect flag indicating to not redirect stdin and stdout
294 @type bool 294 @type bool
295 @return modified argument list 295 @return modified argument list
296 @rtype list of str 296 @rtype list of str
297 """ 297 """
298 if not isPythonProgram(arguments[0]):
299 # it is not a Python program
300 return arguments
301
298 debugClientScript = os.path.join(os.path.dirname(__file__), "DebugClient.py") 302 debugClientScript = os.path.join(os.path.dirname(__file__), "DebugClient.py")
299 if debugClientScript in arguments: 303 if debugClientScript in arguments:
300 # it is already patched 304 # it is already patched
301 return arguments 305 return arguments
302 306

eric ide

mercurial