def set_options(self, **options):
        try:
            super_set_options = super(StorageOverrideMixin, self).set_options
        except __HOLE__:
            pass
        else:
            super_set_options(**options)

        storage_override = options.get('storage_override')
        if storage_override:
            cls = get_storage_class(storage_override)
            self.storage = cls()
        else:
            self.storage = staticfiles_storage

        try:
            self.storage.path('')
        except NotImplementedError:
            self.local = False
        else:
            self.local = True
dataset/ETHPy150Open hzdg/django-ecstatic/ecstatic/management/utils.py/StorageOverrideMixin.set_options