R [querier] debugging tweaks
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Sat, 01 Aug 2009 16:17:47 +0200
changeset 2629 0d445c2171e4
parent 2628 a2cc32c1d982
child 2630 b3f997bc8c26
R [querier] debugging tweaks
server/querier.py
--- a/server/querier.py	Sat Aug 01 16:17:18 2009 +0200
+++ b/server/querier.py	Sat Aug 01 16:17:47 2009 +0200
@@ -587,9 +587,9 @@
         'Any X WHERE X eid 123'!)
         """
         if server.DEBUG & (server.DBG_RQL | server.DBG_SQL):
-            if server.DEBUG & server.DBG_MORE:
+            if server.DEBUG & (server.DBG_MORE | server.DBG_SQL):
                 print '*'*80
-            print 'QUERIER INPUT', rql, args
+            print 'querier INPUT', rql, args
         # parse the query and binds variables
         if eid_key is not None:
             if not isinstance(eid_key, (tuple, list)):