- 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 untrusted user: 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 # Flush if the cycle ended with break
try: try:
self.sendDataThreadQueue.task_done() self.sendDataThreadQueue.task_done()
except ValueError except ValueError:
pass pass
try: try:

View File

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