Commit 01d7f23a authored by Sebastien Petitdemange's avatar Sebastien Petitdemange
Browse files

tcp: fixed a deadlock into command class

parent 856ebc37
......@@ -302,7 +302,7 @@ class Command:
while not self.__transaction.empty():
read_value = self.__transaction.get()
if not isinstance(read_value,socket.error):
self.data += self.__transaction.get()
self.data += read_value
if self.__clear_transaction and \
len(self.__socket._transaction_list) > 1:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment