[Idle-dev] CVS: idle RemoteInterp.py,1.2,1.3

Chui Tey teyc@users.sourceforge.net
Tue, 14 May 2002 16:45:16 -0700


Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv13071

Modified Files:
	RemoteInterp.py 
Log Message:
Fixed bug: Split RPC message into two parts instead of three


Index: RemoteInterp.py
===================================================================
RCS file: /cvsroot/idlefork/idle/RemoteInterp.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** RemoteInterp.py	4 Jul 2001 03:15:10 -0000	1.2
--- RemoteInterp.py	14 May 2002 23:45:14 -0000	1.3
***************
*** 122,126 ****
          seqno = self.decode_seqno(msg[:self.SEQNO_ENC_LEN])
          msg = msg[self.SEQNO_ENC_LEN:]
!         parts = msg.split(" ", 2)
          if len(parts) == 1:
              cmd = msg
--- 122,126 ----
          seqno = self.decode_seqno(msg[:self.SEQNO_ENC_LEN])
          msg = msg[self.SEQNO_ENC_LEN:]
!         parts = msg.split(" ", 1)
          if len(parts) == 1:
              cmd = msg