Revision: 2939
Author: pekka.klarck
Date: Mon Apr 12 06:42:06 2010
Log: must haz unicode.lower when sorting Unicode...
http://code.google.com/p/robotframework/source/detail?r=2939

Modified:
 /trunk/src/robot/parsing/model.py

=======================================
--- /trunk/src/robot/parsing/model.py   Mon Apr 12 06:40:39 2010
+++ /trunk/src/robot/parsing/model.py   Mon Apr 12 06:42:06 2010
@@ -155,7 +155,7 @@
             # http://bugs.jython.org/issue1593
             from java.lang import String
             names = [ utils.unic(String(n)) for n in names ]
-        return sorted(names, key=str.lower)
+        return sorted(names, key=unicode.lower)

     def _get_rawdata(self, path):
         if self.initfile is None:

Reply via email to