##// END OF EJS Templates
caches: don't use lambda for caching query for easier cache debugging.
marcink -
r2671:465c98d6 default
parent child Browse files
Show More
@@ -99,8 +99,11 b' class CachingQuery(Query):'
99 99
100 100 """
101 101 if hasattr(self, '_cache_parameters'):
102 return self.get_value(createfunc=lambda:
103 list(Query.__iter__(self)))
102
103 def caching_query():
104 return list(Query.__iter__(self))
105
106 return self.get_value(createfunc=caching_query)
104 107 else:
105 108 return Query.__iter__(self)
106 109
General Comments 0
You need to be logged in to leave comments. Login now