|
From: Michael <mi...@st...> - 2002-05-09 21:19:09
|
Richard Holbert schrieb:
>
> I've ran into a problem with the way the exception handler error messages are
> returned by python-ldap.
> [..]
> BINDFAILED {'desc': "Can't contact LDAP server"}
>
> This is because your exception handler returns e is an instance of a
> dictionary, so I have to do the following:
> [..]
> The exception handler in IO is a bit more straight forward.
Feel free to contribute an implementation of a __str__() method for the
LDAPError class. Should be in Modules/error.c.
Ciao, Michael.
|