[Erp5-report] r39175 luke - /erp5/trunk/products/ERP5Wizard/PAS/ERP5RemoteUserManager.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 14 16:47:54 CEST 2010


Author: luke
Date: Thu Oct 14 16:47:53 2010
New Revision: 39175

URL: http://svn.erp5.org?rev=39175&view=rev
Log:
 - socket.error is generic error class, no need to add others to catch
   correct issues

Modified:
    erp5/trunk/products/ERP5Wizard/PAS/ERP5RemoteUserManager.py

Modified: erp5/trunk/products/ERP5Wizard/PAS/ERP5RemoteUserManager.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Wizard/PAS/ERP5RemoteUserManager.py?rev=39175&r1=39174&r2=39175&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Wizard/PAS/ERP5RemoteUserManager.py [utf8] (original)
+++ erp5/trunk/products/ERP5Wizard/PAS/ERP5RemoteUserManager.py [utf8] Thu Oct 14 16:47:53 2010
@@ -87,7 +87,7 @@ class ERP5RemoteUserManager(ERP5UserMana
                        **{'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)




More information about the Erp5-report mailing list