Commit 918cc7ba authored by Łukasz Nowak's avatar Łukasz Nowak

- socket.error is generic error class, no need to add others to catch

   correct issues


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39175 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c0a15df4
......@@ -87,7 +87,7 @@ class ERP5RemoteUserManager(ERP5UserManager):
**{'login': login,
'password': password,
'erp5_uid': erp5_uid}))
except (socket.sslerror, socket.error):
except socket.error:
# issue with socket, read from "ZODB cache"
LOG('ERP5RemoteUserManager', INFO, 'Socket issue with server, '
'used local cache', error=True)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment