equal
deleted
inserted
replaced
159 mainvars.append('O') |
159 mainvars.append('O') |
160 if 'U' in defined: |
160 if 'U' in defined: |
161 mainvars.append('U') |
161 mainvars.append('U') |
162 if not mainvars: |
162 if not mainvars: |
163 raise Exception('unable to guess selection variables') |
163 raise Exception('unable to guess selection variables') |
164 return ','.join(mainvars) |
164 return ','.join(sorted(mainvars)) |
165 |
165 |
166 def split_expression(rqlstring): |
166 def split_expression(rqlstring): |
167 for expr in rqlstring.split(','): |
167 for expr in rqlstring.split(','): |
168 for noparen in expr.split('('): |
168 for noparen in expr.split('('): |
169 for word in noparen.split(): |
169 for word in noparen.split(): |