- previous commit contained typos
master
Peter Šurda 6 years ago
parent b1b0c46555
commit 191650f5a4
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

@ -204,7 +204,7 @@ class sendDataThread(threading.Thread):
# Flush if the cycle ended with break
try:
self.sendDataThreadQueue.task_done()
except ValueError
except ValueError:
pass
try:

@ -115,7 +115,7 @@ class singleListener(threading.Thread, StoppableThread):
try:
socketObject, sockaddr = sock.accept()
except socket.error as e:
if isinstance(e.args, tuple) and
if isinstance(e.args, tuple) and \
e.args[0] in (errno.EINTR,):
continue
time.wait(1)

Loading…
Cancel
Save