From 2df18abc5a46810b0477ed7f4578aecbfc455e97 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 5 Mar 2011 15:44:39 +0100 Subject: [PATCH] [entropy.cache] EntropyCacher: also clear live cache when calling discard() --- libraries/entropy/cache.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/entropy/cache.py b/libraries/entropy/cache.py index 6db8cdc0c..c9bbeddcb 100644 --- a/libraries/entropy/cache.py +++ b/libraries/entropy/cache.py @@ -317,6 +317,7 @@ class EntropyCacher(Singleton): @return: None """ self.__cache_buffer.clear() + self.__stashing_cache.clear() def save(self, key, data, cache_dir = None): """