From: Michael S. <mi...@st...> - 2009-05-15 08:56:58
|
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. |