server/sources/__init__.py
changeset 2719 6df328b47361
parent 2650 18aec79ec3a3
child 2759 23d7a75693f8
--- a/server/sources/__init__.py	Fri Aug 07 10:21:19 2009 +0200
+++ b/server/sources/__init__.py	Fri Aug 07 10:21:39 2009 +0200
@@ -18,14 +18,14 @@
 
 def dbg_st_search(uri, union, varmap, args, cachekey=None, prefix='rql for'):
     if server.DEBUG & server.DBG_RQL:
-        print '%s %s source: %s' % (prefix, uri, union.as_string())
+        print '  %s %s source: %s' % (prefix, uri, union.as_string())
         if varmap:
-            print '  using varmap', varmap
+            print '    using varmap', varmap
         if server.DEBUG & server.DBG_MORE:
-            print '  args', args
-            print '  cache key', cachekey
-            print '  solutions', ','.join(str(s.solutions)
-                                          for s in union.children)
+            print '    args', args
+            print '    cache key', cachekey
+            print '    solutions', ','.join(str(s.solutions)
+                                            for s in union.children)
     # return true so it can be used as assertion (and so be killed by python -O)
     return True