From fd1467c8549fbcf6e05436a6b8e61daa491e1b3a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 30 Apr 2009 21:30:35 +0000 Subject: for now ignore socket errors, it probably makes more sense to do something if they happen, at least log them for example svn path=/trunk/; revision=11210 --- scripts/load_every_help.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/load_every_help.py b/scripts/load_every_help.py index 1c7bbdc9..a7121c9b 100755 --- a/scripts/load_every_help.py +++ b/scripts/load_every_help.py @@ -39,7 +39,11 @@ def make_netreceive_patch(filename): def send_to_socket(message): s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - s.connect(('localhost', PORT)) + try: + s.connect(('localhost', PORT)) + except: + # TODO for now just ignore socket errors.... + pass s.send(message) s.close() -- cgit v1.2.1