add patched python ldap

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@1940 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-02-05 18:30:23 +00:00
parent d76e854b14
commit 6a61197edc
5 changed files with 397 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
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)