20 lines
732 B
Diff
20 lines
732 B
Diff
|
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
|
||
|
Date: 2010-02-05
|
||
|
Initial Package Version: 2.3.10
|
||
|
Origin: https://ml.mandriva.net/wws/arc/mds-devel/2010-02/msg00004.html
|
||
|
Upstream Status: unknown
|
||
|
Description: pass on ldap reconnect
|
||
|
|
||
|
diff -Naur python-ldap-2.3.10.orig/Lib/ldap/ldapobject.py python-ldap-2.3.10/Lib/ldap/ldapobject.py
|
||
|
--- python-ldap-2.3.10.orig/Lib/ldap/ldapobject.py 2010-02-05 18:27:21.502050875 +0000
|
||
|
+++ python-ldap-2.3.10/Lib/ldap/ldapobject.py 2010-02-05 18:28:28.518334969 +0000
|
||
|
@@ -783,6 +783,8 @@
|
||
|
del self._l
|
||
|
# Try to reconnect
|
||
|
self.reconnect(self._uri)
|
||
|
+ # Hide the error
|
||
|
+ pass
|
||
|
# Re-try last operation
|
||
|
return func(self,*args,**kwargs)
|
||
|
|