Clear packaging.database caches in place

This commit is contained in:
Éric Araujo 2011-07-15 17:47:46 +02:00
parent ecf4fdad50
commit fe95848c16
1 changed files with 5 additions and 6 deletions

View File

@ -61,13 +61,12 @@ def disable_cache():
def clear_cache():
""" Clears the internal cache. """
global _cache_name, _cache_name_egg, _cache_path, _cache_path_egg, \
_cache_generated, _cache_generated_egg
global _cache_generated, _cache_generated_egg
_cache_name = {}
_cache_name_egg = {}
_cache_path = {}
_cache_path_egg = {}
_cache_name.clear()
_cache_name_egg.clear()
_cache_path.clear()
_cache_path_egg.clear()
_cache_generated = False
_cache_generated_egg = False