[entropy.cache] drop EntropyCacher.CACHE_IDS['library_breakage']

This commit is contained in:
Fabio Erculiani
2013-12-25 14:10:37 +01:00
parent cbe52e67ce
commit 3bb2abc102
2 changed files with 1 additions and 3 deletions
-1
View File
@@ -42,7 +42,6 @@ class EntropyCacher(Singleton):
'atom_search': 'atom_search/atom_search_',
'check_package_update': 'check_update/package_update_',
'depends_tree': 'depends/depends_tree_',
'library_breakage': 'libs_break/library_breakage_',
'mask_filter': 'match/mask_filter',
}
+1 -2
View File
@@ -1888,8 +1888,7 @@ class CalculatorsMixin:
sha = hashlib.sha1()
sha.update(const_convert_to_rawstring(cache_s))
cache_key = "%s%s" % (
EntropyCacher.CACHE_IDS['library_breakage'], sha.hexdigest(),)
cache_key = "library_breakage/%s" % (sha.hexdigest(),)
cached = self._cacher.pop(cache_key)
if cached is not None: