equal
deleted
inserted
replaced
29 from yams.schema import role_name |
29 from yams.schema import role_name |
30 |
30 |
31 from cubicweb import ValidationError, set_log_methods, server |
31 from cubicweb import ValidationError, set_log_methods, server |
32 from cubicweb.schema import VIRTUAL_RTYPES |
32 from cubicweb.schema import VIRTUAL_RTYPES |
33 from cubicweb.server.sqlutils import SQL_PREFIX |
33 from cubicweb.server.sqlutils import SQL_PREFIX |
34 from cubicweb.server.ssplanner import EditedEntity |
34 from cubicweb.server.edition import EditedEntity |
35 |
35 |
36 |
36 |
37 def dbg_st_search(uri, union, varmap, args, cachekey=None, prefix='rql for'): |
37 def dbg_st_search(uri, union, varmap, args, cachekey=None, prefix='rql for'): |
38 if server.DEBUG & server.DBG_RQL: |
38 if server.DEBUG & server.DBG_RQL: |
39 print ' %s %s source: %s' % (prefix, uri, union.as_string()) |
39 print ' %s %s source: %s' % (prefix, uri, union.as_string()) |