[entropy.client] do not clear cache if xcache is False

Nowadays, cache in entropy.client uses hashes of repositories
as part of the key, there is no need to clear cache explicitly
This commit is contained in:
Fabio Erculiani
2013-12-12 17:26:14 +01:00
parent 67cccf3e8a
commit 3574cb029f

View File

@@ -806,9 +806,6 @@ class Client(Singleton, TextInterface, LoadersMixin, CacheMixin,
elif not user_xcache:
do_validate_repo_cache = True
if not self.xcache and (entropy.tools.is_user_in_entropy_group()):
self.clear_cache()
if do_validate_repo_cache:
self._validate_repositories_cache()