Reviewers: ,


Please review this at http://codereview.tryton.org/53001/

Affected files:
  M tryton/gui/main.py


Index: tryton/gui/main.py
===================================================================

--- a/tryton/gui/main.py
+++ b/tryton/gui/main.py
@@ -4,6 +4,7 @@

 import os
 import sys
+import socket
 import gettext
 from urlparse import urlparse
 import urllib
@@ -1174,7 +1175,7 @@
                         len(ids2))
             self.sb_requests.set_text(message)
             return (ids, ids2)
-        except TrytonServerError:
+        except (TrytonServerError, socket.error):
             if exception:
                 raise
             return ([], [])



--
[email protected] mailing list

Reply via email to