[entropy.client] if xcache=False, force EntropyCacher "stashing cache" to OFF

This commit is contained in:
Fabio Erculiani
2012-07-22 19:59:37 +02:00
parent 9472978e60
commit ce4d28ef47
+3
View File
@@ -827,6 +827,9 @@ class Client(Singleton, TextInterface, LoadersMixin, CacheMixin,
# always dropped
if self.xcache:
self._cacher.start()
else:
# disable STASHING_CACHE or we leak
EntropyCacher.STASHING_CACHE = False
if do_validate_repo_cache:
self._validate_repositories_cache()