eric6/DebugClients/Python/DebugUtilities.py

branch
multi_processing
changeset 7421
4a9900aef04e
parent 7420
0d596bb4a60d
child 7422
9a008ab4811b
--- a/eric6/DebugClients/Python/DebugUtilities.py	Sun Feb 16 12:42:12 2020 +0100
+++ b/eric6/DebugClients/Python/DebugUtilities.py	Sun Feb 16 16:14:25 2020 +0100
@@ -213,6 +213,9 @@
     @return flag indicating a Python interpreter or program
     @rtype bool
     """
+    if not program:
+        return False
+    
     prog = os.path.basename(program).lower()
     for pyname in PYTHON_NAMES:
         if pyname in prog:
@@ -285,7 +288,6 @@
                 interpreterArgs.append(args.pop(0))
         else:
             break
-    print(interpreter, interpreterArgs, args)
     
     (wd, host, port, exceptions, tracePython, redirect, noencoding
      ) = debugClient.startOptions[:7]

eric ide

mercurial