Zhang Huangbin wrote:
> Michael Ströder wrote:
>> Compare function for case-insensitive comparison of the DN:
>>
>> cmp=lambda x,y: cmp(x[0].lower(), y[0}.lower())
> 
> I tried this compare function, but got this err msg:

Sorry, there's a typo in there:

cmp=lambda x,y: cmp(x[0].lower(), y[0}.lower())
                                     ^
Should be ]

Ciao, Michael.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to