remove debug stuff
authorsylvain.thenault@logilab.fr
Sat, 04 Apr 2009 15:48:08 +0200
changeset 1239 7eda09aa7553
parent 1238 fa29b5b60107
child 1240 6a9f621e07cc
remove debug stuff
server/sources/pyrorql.py
--- 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