Update of /cvsroot/freevo/freevo/src/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26250
Modified Files: misc.py Log Message: helper function for cmp Index: misc.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/util/misc.py,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** misc.py 13 Feb 2004 17:18:39 -0000 1.28 --- misc.py 16 Feb 2004 17:56:22 -0000 1.29 *************** *** 11,14 **** --- 11,17 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.29 2004/02/16 17:56:22 dischi + # helper function for cmp + # # Revision 1.28 2004/02/13 17:18:39 dischi # do not skip after . for directories *************** *** 392,395 **** --- 395,406 ---- return result + + def ucmp(val1, val2): + """ + cmp function taking care of encoding + """ + return cmp(Unicode(val1), Unicode(val2)) + + def htmlenties2txt(string): """ ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog