- previous commit contained typos
This commit is contained in:
Peter Šurda 2017-02-26 12:52:28 +01:00
parent b1b0c46555
commit 191650f5a4
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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)