Fixed bug: Split RPC message into two parts instead of three

This commit is contained in:
Chui Tey 2002-05-14 23:45:14 +00:00
parent 9aa97e835d
commit 55956c9361
1 changed files with 1 additions and 1 deletions

View 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 = ''