equal
deleted
inserted
replaced
745 # FIXME: get number of affected entities / relations on non |
745 # FIXME: get number of affected entities / relations on non |
746 # selection queries ? |
746 # selection queries ? |
747 # return a result set object |
747 # return a result set object |
748 return ResultSet(results, rql, args, descr, orig_rqlst) |
748 return ResultSet(results, rql, args, descr, orig_rqlst) |
749 |
749 |
|
750 # these are overridden by set_log_methods below |
|
751 # only defining here to prevent pylint from complaining |
|
752 info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None |
|
753 |
750 from logging import getLogger |
754 from logging import getLogger |
751 from cubicweb import set_log_methods |
755 from cubicweb import set_log_methods |
752 LOGGER = getLogger('cubicweb.querier') |
756 LOGGER = getLogger('cubicweb.querier') |
753 set_log_methods(QuerierHelper, LOGGER) |
757 set_log_methods(QuerierHelper, LOGGER) |