schema.py
changeset 5372 b74eed7e8b37
parent 5174 78438ad513ca
child 5378 0f54a0e128ac
--- a/schema.py	Tue Apr 20 18:34:37 2010 +0200
+++ b/schema.py	Thu Apr 22 15:50:45 2010 +0200
@@ -161,7 +161,7 @@
         mainvars.append('U')
     if not mainvars:
         raise Exception('unable to guess selection variables')
-    return ','.join(mainvars)
+    return ','.join(sorted(mainvars))
 
 def split_expression(rqlstring):
     for expr in rqlstring.split(','):