Re: [Freeipa-devel] [PATCH] 823 ipaldap: raise DatabaseError on unbind if disconnected

2015-05-07 Thread Petr Vobornik
On 05/07/2015 06:04 PM, Martin Babinsky wrote: On 04/24/2015 01:31 PM, Petr Vobornik wrote: On 04/24/2015 07:19 AM, Jan Cholasta wrote: Dne 23.4.2015 v 22:18 Nathaniel McCallum napsal(a): On Thu, 2015-04-23 at 14:12 +0200, Petr Vobornik wrote: On 04/23/2015 12:24 PM, Petr Vobornik wrote: If

Re: [Freeipa-devel] [PATCH] 823 ipaldap: raise DatabaseError on unbind if disconnected

2015-05-07 Thread Martin Babinsky
On 04/24/2015 01:31 PM, Petr Vobornik wrote: On 04/24/2015 07:19 AM, Jan Cholasta wrote: Dne 23.4.2015 v 22:18 Nathaniel McCallum napsal(a): On Thu, 2015-04-23 at 14:12 +0200, Petr Vobornik wrote: On 04/23/2015 12:24 PM, Petr Vobornik wrote: If unbind was called when disconnected it raised:

Re: [Freeipa-devel] [PATCH] 823 ipaldap: raise DatabaseError on unbind if disconnected

2015-04-24 Thread Petr Vobornik
On 04/24/2015 07:19 AM, Jan Cholasta wrote: Dne 23.4.2015 v 22:18 Nathaniel McCallum napsal(a): On Thu, 2015-04-23 at 14:12 +0200, Petr Vobornik wrote: On 04/23/2015 12:24 PM, Petr Vobornik wrote: If unbind was called when disconnected it raised: AttributeError: 'NoneType' object has no at

Re: [Freeipa-devel] [PATCH] 823 ipaldap: raise DatabaseError on unbind if disconnected

2015-04-23 Thread Jan Cholasta
Dne 23.4.2015 v 22:18 Nathaniel McCallum napsal(a): On Thu, 2015-04-23 at 14:12 +0200, Petr Vobornik wrote: On 04/23/2015 12:24 PM, Petr Vobornik wrote: If unbind was called when disconnected it raised: AttributeError: 'NoneType' object has no attribute 'unbind_s' AttributeError is not a p

Re: [Freeipa-devel] [PATCH] 823 ipaldap: raise DatabaseError on unbind if disconnected

2015-04-23 Thread Nathaniel McCallum
On Thu, 2015-04-23 at 14:12 +0200, Petr Vobornik wrote: > On 04/23/2015 12:24 PM, Petr Vobornik wrote: > > If unbind was called when disconnected it raised: > >AttributeError: 'NoneType' object has no attribute 'unbind_s' > > > > AttributeError is not a public error and therefore it prevented

Re: [Freeipa-devel] [PATCH] 823 ipaldap: raise DatabaseError on unbind if disconnected

2015-04-23 Thread Petr Vobornik
On 04/23/2015 12:24 PM, Petr Vobornik wrote: If unbind was called when disconnected it raised: AttributeError: 'NoneType' object has no attribute 'unbind_s' AttributeError is not a public error and therefore it prevented ldap2.destroy_connection() to be called multiple times. fixes: https://