diff --git a/django/core/cache.py b/django/core/cache.py index a479d16dc3..a619dd3fbf 100644 --- a/django/core/cache.py +++ b/django/core/cache.py @@ -303,7 +303,7 @@ class _FileCache(_SimpleCache): os.remove(fname) else: return pickle.load(f) - except (IOError, pickle.PickleError): + except (IOError, OSError, pickle.PickleError): pass return default