equal
deleted
inserted
replaced
222 self.snippet_rqlst = self._cached_parse(self.minimal_rql) |
222 self.snippet_rqlst = self._cached_parse(self.minimal_rql) |
223 except RQLSyntaxError: |
223 except RQLSyntaxError: |
224 raise RQLSyntaxError(expression) |
224 raise RQLSyntaxError(expression) |
225 for mainvar in mainvars: |
225 for mainvar in mainvars: |
226 if len(self.snippet_rqlst.defined_vars[mainvar].references()) < 2: |
226 if len(self.snippet_rqlst.defined_vars[mainvar].references()) < 2: |
227 _LOGGER.warn('You did not use the %s variable in your RQL ' |
227 _LOGGER.warning('You did not use the %s variable in your RQL ' |
228 'expression %s', mainvar, self) |
228 'expression %s', mainvar, self) |
229 # graph of links between variables, used by rql rewriter |
229 # graph of links between variables, used by rql rewriter |
230 self.vargraph = vargraph(self.snippet_rqlst) |
230 self.vargraph = vargraph(self.snippet_rqlst) |
231 # useful for some instrumentation, e.g. localperms permcheck command |
231 # useful for some instrumentation, e.g. localperms permcheck command |
232 self.package = ybo.PACKAGE |
232 self.package = ybo.PACKAGE |
233 |
233 |