Skip to content

Commit 10659b8

Browse files
author
Hugo Osvaldo Barrera
authored
Merge pull request pimutils#960 from dilyanpalauzov/readonly_metadata
storage/base: for read_only storages do not overwrite the meta data
2 parents 7ce9466 + 1c6beae commit 10659b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vdirsyncer/storage/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class StorageMeta(ABCMeta):
2828
def __init__(cls, name, bases, d):
2929
"""Wrap mutating methods to fail if the storage is readonly."""
3030

31-
for method in ("update", "upload", "delete"):
31+
for method in ("update", "upload", "delete", "set_meta"):
3232
setattr(cls, method, mutating_storage_method(getattr(cls, method)))
3333
return super().__init__(name, bases, d)
3434

0 commit comments

Comments
 (0)