server/sources/pyrorql.py
changeset 1239 7eda09aa7553
parent 1238 fa29b5b60107
child 1263 01152fffd593
--- a/server/sources/pyrorql.py	Sat Apr 04 15:45:57 2009 +0200
+++ b/server/sources/pyrorql.py	Sat Apr 04 15:48:08 2009 +0200
@@ -244,14 +244,12 @@
         
     def syntax_tree_search(self, session, union, args=None, cachekey=None,
                            varmap=None):
-        assert not varmap, (varmap, union)
+        #assert not varmap, (varmap, union)
         rqlkey = union.as_string(kwargs=args)
         try:
             results = self._query_cache[rqlkey]
-            print 'cache hit', rqlkey
         except KeyError:
             results = self._syntax_tree_search(session, union, args)
-            print 'cache miss', rqlkey
             self._query_cache[rqlkey] = results
         return results