equal
deleted
inserted
replaced
644 raise RQLSyntaxError(expression) |
644 raise RQLSyntaxError(expression) |
645 for mainvar in mainvars.split(','): |
645 for mainvar in mainvars.split(','): |
646 if len(self.rqlst.defined_vars[mainvar].references()) <= 2: |
646 if len(self.rqlst.defined_vars[mainvar].references()) <= 2: |
647 _LOGGER.warn('You did not use the %s variable in your RQL ' |
647 _LOGGER.warn('You did not use the %s variable in your RQL ' |
648 'expression %s', mainvar, self) |
648 'expression %s', mainvar, self) |
649 # syntax tree used by read security (inserted in queries when necessary |
649 # syntax tree used by read security (inserted in queries when necessary) |
650 self.snippet_rqlst = parse(self.minimal_rql, print_errors=False).children[0] |
650 self.snippet_rqlst = parse(self.minimal_rql, print_errors=False).children[0] |
651 |
651 |
652 def __str__(self): |
652 def __str__(self): |
653 return self.full_rql |
653 return self.full_rql |
654 def __repr__(self): |
654 def __repr__(self): |