diff --git a/sjrpc/core/rpcconnection.py b/sjrpc/core/rpcconnection.py index 33cd6f3fd9f5efd4d69f827ff701a9373feb1925..0a831f63fe3da63e6f2289d9d1c0d7a67f305bfb 100644 --- a/sjrpc/core/rpcconnection.py +++ b/sjrpc/core/rpcconnection.py @@ -100,7 +100,7 @@ class RpcConnection(object): callback=self._cb_need_to_send) self._need_to_send.start() - # Setup self.logger.facility: + # Setup logging facility: self.logger = logging.getLogger('sjrpc.%s' % self.getpeername()) # Protocols registered on this connection: @@ -114,7 +114,8 @@ class RpcConnection(object): # By default, enter in fallback mode, no label, all frames are # redirected on Rpc0: self.fallback = True - # Send our capabilities to the peer + + # Send our capabilities to the peer: self._remote_capabilities = None self._send_capabilities() @@ -198,7 +199,7 @@ class RpcConnection(object): else: label, pl_size = struct.unpack(RpcConnection.MESSAGE_HEADER, self._inbound_buffer) - # Get the registered protocol for the specified label + # Get the registered protocol for the specified label: self._proto_receiving = self._protocols.get(label) # If frame's label is not binded to a protocol, we create a