Ticket #763: django.cache.patch

File django.cache.patch, 405 bytes (added by eugene@…, 19 years ago)
  • cache.py

     
    303303                os.remove(fname)
    304304            else:
    305305                return pickle.load(f)
    306         except (IOError, pickle.PickleError):
     306        except (IOError, OSError, pickle.PickleError):
    307307            pass
    308308        return default
    309309
Back to Top