1. Alan Justino
  2. django-storages

Commits

Alan Justino  committed 361941b

[FIX] "Bus error" intermitent when using FileCache storage

  • Participants
  • Parent commits 927ab15
  • Branches filecache_storage_proposal

Comments (0)

Files changed (1)

File storages/backends/filecache.py

View file
 class FileCacheMixin(object):
     """Storage mixing to keep a copy of accessed files"""
 
+    master_storage = None # because of __getattr__ & __setattr__ gimmicks
+
     def __init__(self, cache_storage=None, master_storage=None):
         self.cache_storage = load_backend(cache_storage)()
         self.master_storage = load_backend(master_storage)()