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 |