Cooperation/Connection.py

changeset 5597
3d88d53f8c2b
parent 5587
ea526b78ee6c
child 5624
cdd346d8858b
equal deleted inserted replaced
5596:4550d8e34765 5597:3d88d53f8c2b
396 participantsList = [] 396 participantsList = []
397 else: 397 else:
398 participantsList = msg.split(SeparatorToken) 398 participantsList = msg.split(SeparatorToken)
399 self.participants.emit(participantsList[:]) 399 self.participants.emit(participantsList[:])
400 elif self.__currentDataType == Connection.Editor: 400 elif self.__currentDataType == Connection.Editor:
401 hash, fn, msg = \ 401 hashStr, fn, msg = \
402 str(self.__buffer, encoding="utf-8").split(SeparatorToken) 402 str(self.__buffer, encoding="utf-8").split(SeparatorToken)
403 self.editorCommand.emit(hash, fn, msg) 403 self.editorCommand.emit(hashStr, fn, msg)
404 404
405 self.__currentDataType = Connection.Undefined 405 self.__currentDataType = Connection.Undefined
406 self.__numBytesForCurrentDataType = 0 406 self.__numBytesForCurrentDataType = 0
407 self.__buffer.clear() 407 self.__buffer.clear()
408 408

eric ide

mercurial