Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-11-02 16:35:21 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2017-11-02 16:35:21 +0300
commitb9a9770ff4e72baa6005a10e705d973db48db5a9 (patch)
tree731be74fafd37567c498cfdc6a6bee6b5f7a1700
parent26dcc93366001ef916f39ef34c31e08d8f3ed65a (diff)
Also ignore OSError when trying to connect to irked
This seems to happen on Travis, now
-rwxr-xr-xcalm/irk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/irk.py b/calm/irk.py
index 47cb112..7e425ef 100755
--- a/calm/irk.py
+++ b/calm/irk.py
@@ -34,7 +34,7 @@ def irk(message, target=DEFAULT_TARGET, server=DEFAULT_SERVER):
send(s, target, message)
s.close()
- except ConnectionRefusedError:
+ except (ConnectionRefusedError, OSError):
pass