src/eric7/Debugger/DebugServer.py

branch
server
changeset 10597
fbe93720ee9f
parent 10566
25330d3ea3af
child 10651
280a53840aa3
--- a/src/eric7/Debugger/DebugServer.py	Thu Feb 22 16:26:46 2024 +0100
+++ b/src/eric7/Debugger/DebugServer.py	Thu Feb 22 16:34:43 2024 +0100
@@ -497,7 +497,7 @@
         venvName="",
         workingDir="",
         configOverride=None,
-        startRemote=None
+        startRemote=None,
     ):
         """
         Public method to start a debug client.
@@ -745,14 +745,11 @@
                     self.__reportedBreakpointIssues.remove((fn, lineno))
 
                 if (
-                    (
-                        self.__ericServerDebugging
-                        and FileSystemUtilities.isRemoteFileName(fn)
-                    )
-                    or (
-                        not self.__ericServerDebugging
-                        and FileSystemUtilities.isPlainFileName(fn)
-                    )
+                    self.__ericServerDebugging
+                    and FileSystemUtilities.isRemoteFileName(fn)
+                ) or (
+                    not self.__ericServerDebugging
+                    and FileSystemUtilities.isPlainFileName(fn)
                 ):
                     self.remoteBreakpoint(debuggerId, fn, lineno, True, cond, temp)
                     if not enabled:

eric ide

mercurial