|
From: Jacek K. <ja...@bn...> - 2002-07-28 09:07:04
|
On Sat, Jul 27, 2002 at 10:38:35PM +0200, Michael Str=F6der wrote:
> Well, I'd like to see some better error reporting with the help of=20
> exceptions. Anyway, there is a debug output text "Error: 6: .."=20
> produced. Don't know whether by the OpenLDAP libs or some code in=20
> Modules/schema.c.
Here is a fragment of Modules/schema.c:
o =3D ldap_str2objectclass( oc_string, &ret, &errp, flag);
if (ret) {
printf("Error: %d: %s", ret, errp);
/* XXX Do error handling... */
return NULL;
}
It seems ldap_str2objectclass() fails, but no proper python-way error
hadnling is done. The fix should be easy (just replace=20
/* XXX Do error handling... */ with exception object initialization).
Unfortunately I am not able to do it now (lack of time) :-(
Greets,
Jacek
|