1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-01 21:07:24 +00:00

Support python 3 in pysearpc.

This commit is contained in:
Jonathan Xu
2019-06-06 17:36:19 +08:00
parent 4f32f8be00
commit ac0750d058
7 changed files with 30 additions and 22 deletions

View File

@@ -5,7 +5,7 @@ from pysearpc.errors import NetworkError
def recvall(fd, total):
remain = total
data = ''
data = b''
while remain > 0:
try:
new = fd.recv(remain)