delete_s() result
Michael Ströder
michael at stroeder.com
Tue Oct 29 18:07:29 CET 2002
Michael Engelhart wrote:
> The result of the operation is succesful either way in
> that it deletes the dn passed to it which is really all I care about
> anyway. I'll just ignore results from delete.
Thanks to the early design decision of David you don't have to do error
handling by checking result codes. If an error occurs during deletion of an
entry an exception of class ldap.LDAPError or a derived error class is raised.
You can safely ignore results of add_s(), bind_s(), delete_s(), modify_s(),
modrdn_s(), rename_s() and unbind_s().
Ciao, Michael.
More information about the python-ldap
mailing list