diff --git a/CHANGES.md b/CHANGES.md index 36c5deb7..8751f806 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,7 @@ * Update attr 22.2.0 (683d056) to 23.1.0 (67e4ff2) * Update Beautiful Soup 4.12.2 to 4.12.2 (30c58a1) +* Update diskcache 5.6.1 (4d30686) to 5.6.3 (323787f) * Update soupsieve 2.4.1 (2e66beb) to 2.5.0 (dc71495) * Update hachoir 3.1.2 (f739b43) to 3.2.0 (38d759f) diff --git a/lib/diskcache/__init__.py b/lib/diskcache/__init__.py index 1931a0dd..7757d660 100644 --- a/lib/diskcache/__init__.py +++ b/lib/diskcache/__init__.py @@ -61,8 +61,8 @@ except Exception: # pylint: disable=broad-except # pragma: no cover pass __title__ = 'diskcache' -__version__ = '5.6.1' -__build__ = 0x050601 +__version__ = '5.6.3' +__build__ = 0x050603 __author__ = 'Grant Jenks' __license__ = 'Apache 2.0' __copyright__ = 'Copyright 2016-2023 Grant Jenks' diff --git a/lib/diskcache/core.py b/lib/diskcache/core.py index 85f2e72e..46f5532b 100644 --- a/lib/diskcache/core.py +++ b/lib/diskcache/core.py @@ -1705,9 +1705,6 @@ class Cache: except IOError: # Key was deleted before we could retrieve result. continue - finally: - if name is not None: - self._disk.remove(name) break if expire_time and tag: