Re: [Freeipa-devel] [PATCH] Add exception callback (exc_callback) to baseldap.py classes.

2010-05-14 Thread Rob Crittenden
Pavel Zuna wrote: Improved version attached. If a callback raised a new exception, callbacks next in row would still get the original exception. Now they should get the new one as intended. Thanks to Rob for pointing this out. Pavel Ack, pushed to master __

Re: [Freeipa-devel] [PATCH] Add exception callback (exc_callback) to baseldap.py classes.

2010-05-14 Thread Pavel Zuna
Improved version attached. If a callback raised a new exception, callbacks next in row would still get the original exception. Now they should get the new one as intended. Thanks to Rob for pointing this out. Pavel pzuna-freeipa-0004-exc_callback.patch Description: application/mbox

Re: [Freeipa-devel] [PATCH] Add exception callback (exc_callback) to baseldap.py classes.

2010-05-12 Thread Pavel Zůna
On 2010-05-10 20:38, Rob Crittenden wrote: Pavel Zuna wrote: The new callback enables plugin authors to supply their own handler for ExecutionError exceptions generated by calls to ldap2 made from the execute method of baseldap.py classes that extend CallbackInterface. Pavel I don't see any r

Re: [Freeipa-devel] [PATCH] Add exception callback (exc_callback) to baseldap.py classes.

2010-05-10 Thread Rob Crittenden
Pavel Zuna wrote: The new callback enables plugin authors to supply their own handler for ExecutionError exceptions generated by calls to ldap2 made from the execute method of baseldap.py classes that extend CallbackInterface. Pavel I don't see any reference to EXC_CALLBACKS other than in re

[Freeipa-devel] [PATCH] Add exception callback (exc_callback) to baseldap.py classes.

2010-05-10 Thread Pavel Zuna
The new callback enables plugin authors to supply their own handler for ExecutionError exceptions generated by calls to ldap2 made from the execute method of baseldap.py classes that extend CallbackInterface. Pavel pzuna-freeipa-0004-exc_callback.patch Description: application/mbox __