Out of the box the python sort function is case-sensitive. Since I don't
care for that much, I made a small change...

On line 108 of EditList.py (TMDA-cgi-0.10), I chaged:
   List.sort()
to
   List.sort(lambda a,b: cmp(a.upper(), b.upper()))

Any reason I shouldn't do this? Since I'm not literate in Python, figured
I'd ask... don't want to break my cool new toys. :)

Thanks,

Dan
--

When guns are outlawed, only outlaws will have guns.
                                        --A. Denman
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to