delete_s() result

Michael Ströder michael at stroeder.com
Tue Oct 29 16:28:30 CET 2002


Michael Engelhart wrote:
 > Does a succesful ldap.delete_s() call return an empty list?

Hmm, according to the ancient __doc__ string it should return None.

But maybe this changed because of the new implementation of delete_s() in 
the Python wrapper class ldap.ldapobject.SimpleLDAPObject.

Best bet is to ignore the result of delete_s(). It won't contain any useful 
information. In opposite delete() returns the msgid as usual for async methods.

Ciao, Michael.






More information about the python-ldap mailing list