From 918cc7bac3949f115ef541a5c99af09bb1b90868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Thu, 14 Oct 2010 14:47:53 +0000 Subject: [PATCH] - 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 --- product/ERP5Wizard/PAS/ERP5RemoteUserManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Wizard/PAS/ERP5RemoteUserManager.py b/product/ERP5Wizard/PAS/ERP5RemoteUserManager.py index 26975e3516..067cd30da5 100644 --- a/product/ERP5Wizard/PAS/ERP5RemoteUserManager.py +++ b/product/ERP5Wizard/PAS/ERP5RemoteUserManager.py @@ -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) -- 2.30.9