Removes a cache.clear() accidentally introduced.

This commit is contained in:
Bertrand Bordage 2014-12-09 01:35:42 +01:00
parent cc6e836b13
commit a358fc18a9

View file

@ -56,7 +56,6 @@ def _get_result_or_execute_query(execute_query_func, cache_key,
new_table_cache_keys = frozenset(table_cache_keys) - frozenset(data)
if new_table_cache_keys:
cache.clear()
for table_cache_key in new_table_cache_keys:
cache.add(table_cache_key, time(), None)
elif cache_key in data: