aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-30 21:30:35 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-30 21:30:35 +0000
commitfd1467c8549fbcf6e05436a6b8e61daa491e1b3a (patch)
treeda64241d0b31ca39a133e4379053f1b523f22a92 /scripts
parent437e524ae4375a98c98195e201a6401cbcafbcd9 (diff)
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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/load_every_help.py6
1 files changed, 5 insertions, 1 deletions
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()