]> granicus.if.org Git - python/commitdiff
Fixed bug: Split RPC message into two parts instead of three
authorChui Tey <chui.tey@advdata.com.au>
Tue, 14 May 2002 23:45:14 +0000 (23:45 +0000)
committerChui Tey <chui.tey@advdata.com.au>
Tue, 14 May 2002 23:45:14 +0000 (23:45 +0000)
Lib/idlelib/RemoteInterp.py

index 724997c01037cb4dbc7ac9921e638cbf4668ad50..fea78b58af74ff6f2df1d198534b4a1580cb1ee6 100644 (file)
@@ -121,7 +121,7 @@ class CommandProtocol:
     def _decode_msg(self, msg):
         seqno = self.decode_seqno(msg[:self.SEQNO_ENC_LEN])
         msg = msg[self.SEQNO_ENC_LEN:]
-        parts = msg.split(" ", 2)
+        parts = msg.split(" ", 1)
         if len(parts) == 1:
             cmd = msg
             arg = ''