server/querier.py
branchstable
changeset 4719 aaed3f813ef8
parent 4654 717310b3d576
child 4722 9c13d5db03d9
--- a/server/querier.py	Fri Feb 26 13:12:01 2010 +0100
+++ b/server/querier.py	Fri Feb 26 13:19:14 2010 +0100
@@ -12,7 +12,7 @@
 
 from logilab.common.cache import Cache
 from logilab.common.compat import any
-from rql import RQLHelper, RQLSyntaxError
+from rql import RQLSyntaxError
 from rql.stmts import Union, Select
 from rql.nodes import Relation, VariableRef, Constant, SubQuery
 
@@ -210,7 +210,6 @@
             self.cache_key = None
 
     def _insert_security(self, union, noinvariant):
-        rh = self.rqlhelper
         for select in union.children[:]:
             for subquery in select.with_:
                 self._insert_security(subquery.query, noinvariant)