RefactoringRope/JsonClient.py

branch
server_client_variant
changeset 168
53d76b4fc1ac
parent 166
6fc202183b3b
child 169
fb8a4182f12e
--- a/RefactoringRope/JsonClient.py	Sat Sep 16 18:51:19 2017 +0200
+++ b/RefactoringRope/JsonClient.py	Sun Sep 17 17:03:16 2017 +0200
@@ -59,7 +59,8 @@
         Private method to receive a JSON encode command and data from the
         server.
         """
-        line = self.__connection.recv(1024 * 1024, socket.MSG_PEEK) # 1M buffer
+        line = self.__connection.recv(1024 * 1024, socket.MSG_PEEK)
+        # 1MB buffer
 
         eol = line.find(b'\n')
 
@@ -139,7 +140,7 @@
     
     def poll(self):
         """
-        Public method to check and receive one message (if available)
+        Public method to check and receive one message (if available).
         """
         try:
             rrdy, wrdy, xrdy = select.select([self.__connection], [], [], 0)

eric ide

mercurial