From 191650f5a4fa8a4e55ec0ad407104725d92ac86d Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Sun, 26 Feb 2017 12:52:28 +0100 Subject: [PATCH] Typos - previous commit contained typos --- src/class_sendDataThread.py | 2 +- src/class_singleListener.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/class_sendDataThread.py b/src/class_sendDataThread.py index 552cbffc..05dc5c34 100644 --- a/src/class_sendDataThread.py +++ b/src/class_sendDataThread.py @@ -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: diff --git a/src/class_singleListener.py b/src/class_singleListener.py index f41a9724..f6bc9156 100644 --- a/src/class_singleListener.py +++ b/src/class_singleListener.py @@ -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)