rqlrewrite.py
changeset 5992 5f9a9086c171
parent 5704 924ea48326c4
child 6123 0d0a87e88281
equal deleted inserted replaced
5991:39d031ee4af3 5992:5f9a9086c171
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """RQL rewriting utilities : insert rql expression snippets into rql syntax
    18 """RQL rewriting utilities : insert rql expression snippets into rql syntax
    19 tree.
    19 tree.
    20 
    20 
    21 This is used for instance for read security checking in the repository.
    21 This is used for instance for read security checking in the repository.
    22 
       
    23 """
    22 """
       
    23 
    24 __docformat__ = "restructuredtext en"
    24 __docformat__ = "restructuredtext en"
    25 
    25 
    26 from rql import nodes as n, stmts, TypeResolverException
    26 from rql import nodes as n, stmts, TypeResolverException
    27 from yams import BadSchemaDefinition
    27 from yams import BadSchemaDefinition
    28 from logilab.common.graph import has_path
    28 from logilab.common.graph import has_path