Author: pekka.klarck
Date: Tue Mar 24 02:01:23 2009
New Revision: 1495
Modified:
trunk/src/robot/libraries/BuiltIn.py
Log:
sort variables case-insensitively now that they have case
Modified: trunk/src/robot/libraries/BuiltIn.py
==============================================================================
--- trunk/src/robot/libraries/BuiltIn.py (original)
+++ trunk/src/robot/libraries/BuiltIn.py Tue Mar 24 02:01:23 2009
@@ -483,7 +483,7 @@
"""Logs all variables in the current scope with given log level."""
variables = self._get_variables()
names = variables.keys()
- names.sort()
+ names.sort(lambda x, y: cmp(x.lower(), y.lower()))
for name in names:
value = variables[name]
if utils.is_list(value):