[python-ldap] ldap.SUCCESS sometimes, the results other times
Michael Ströder
michael at stroeder.com
Fri Jul 8 15:30:20 CEST 2011
Jeff Blaine wrote:
> On 7/8/2011 3:07 AM, Michael Ströder wrote:
>> Jeff Blaine wrote:
>>> I'm clearly doing something wrong :)
>>>
>>> I don't see this addressed in the documentation or the
>>> FAQ.
>>>
>>> I'm developing something. When I run it, the majority
>>> of the time I get traceback ending in ldap.SUCCESS
>>> instead of the expected output. Eventually, if I run
>>> it enough times, it spits out my data instead of
>>> ldap.SUCCESS
>>
>> Well, my crystal ball is blurry... ;-)
>
> Sorry, I just figured maybe it was an obvious thing
> that was easy to detect by a list member.
>
> I ended up figuring it out a few hours after posting.
>
> I was using search instead of search_s, so was seeing
> the asynchrony mostly instead of results every time.
Ah, yes. Feel free to submit text for the FAQ... ;-)
Ciao, Michael.
More information about the python-ldap
mailing list