mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
storage/base: for read_only storages do not overwrite the meta data
This commit is contained in:
parent
7ce9466c46
commit
1c6beae9b4
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class StorageMeta(ABCMeta):
|
|||
def __init__(cls, name, bases, d):
|
||||
"""Wrap mutating methods to fail if the storage is readonly."""
|
||||
|
||||
for method in ("update", "upload", "delete"):
|
||||
for method in ("update", "upload", "delete", "set_meta"):
|
||||
setattr(cls, method, mutating_storage_method(getattr(cls, method)))
|
||||
return super().__init__(name, bases, d)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue