diff options
author | Johan Dahlin <johan@gnome.org> | 2010-06-17 10:27:42 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-06-17 10:28:37 -0300 |
commit | b683ef027b2d96c7cd6c7f895a0437a03567dc05 (patch) | |
tree | 7a79b06e45bf475533598d704f988d2339dee519 /giscanner/cachestore.py | |
parent | 0db67f199c1af9144049198f108c1902e007ab17 (diff) | |
download | gobject-introspection-b683ef027b2d96c7cd6c7f895a0437a03567dc05.tar.gz |
[cachestore] Properly clean the cacheg-i-0.6
Propertly clear the cache after a version invalidation.
Send in the full filename to unlink, not just the basename.
Diffstat (limited to 'giscanner/cachestore.py')
-rw-r--r-- | giscanner/cachestore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/cachestore.py b/giscanner/cachestore.py index 70ca00ad..d839ef58 100644 --- a/giscanner/cachestore.py +++ b/giscanner/cachestore.py @@ -135,7 +135,7 @@ class CacheStore(object): for filename in os.listdir(self._directory): if filename == _CACHE_VERSION_FILENAME: continue - self._remove_filename(filename) + self._remove_filename(os.path.join(self._directory, filename)) def store(self, filename, data): store_filename = self._get_filename(filename) |