From: Chui Tey Date: Tue, 14 May 2002 23:45:14 +0000 (+0000) Subject: Fixed bug: Split RPC message into two parts instead of three X-Git-Tag: v2.3c1~5664 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55956c93615855b47cfc5bf9ddc2633a5f73044c;p=python Fixed bug: Split RPC message into two parts instead of three --- diff --git a/Lib/idlelib/RemoteInterp.py b/Lib/idlelib/RemoteInterp.py index 724997c010..fea78b58af 100644 --- a/Lib/idlelib/RemoteInterp.py +++ b/Lib/idlelib/RemoteInterp.py @@ -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 = ''