src/eric7/RemoteServer/EricServerDebuggerRequestHandler.py

branch
server
changeset 10597
fbe93720ee9f
parent 10574
622e59b51640
child 10610
bb0149571d94
--- a/src/eric7/RemoteServer/EricServerDebuggerRequestHandler.py	Thu Feb 22 16:26:46 2024 +0100
+++ b/src/eric7/RemoteServer/EricServerDebuggerRequestHandler.py	Thu Feb 22 16:34:43 2024 +0100
@@ -31,11 +31,11 @@
         @type EricServer
         """
         self.__server = server
-        
+
         self.__requestMethodMapping = {
             "StartClient": self.__startClient,
             "StopClient": self.__stopClient,
-            "DebugClientCommand": self.__relayDebugClientCommand
+            "DebugClientCommand": self.__relayDebugClientCommand,
         }
 
         self.__mainClientId = None
@@ -122,7 +122,7 @@
     def __serviceDbgClientConnection(self, key):
         """
         Private method to service the debug client connection.
-        
+
         @param key reference to the SelectorKey object associated with the connection
             to be serviced
         @type selectors.SelectorKey
@@ -138,7 +138,7 @@
 
             # 1. process debug client messages before relaying
             if method == "DebuggerId" and sock in self.__pendingConnections:
-                debuggerId = data['params']['debuggerId']
+                debuggerId = data["params"]["debuggerId"]
                 self.__connections[debuggerId] = sock
                 self.__pendingConnections.remove(sock)
                 if self.__mainClientId is None:
@@ -156,7 +156,7 @@
                 reply="DebugClientResponse",
                 params={"response": jsonStr},
             )
-            
+
             # 3. process debug client messages after relaying
             if method == "ResponseExit":
                 for sock in list(self.__connections.values()):

eric ide

mercurial