mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
Split BaseCollection into BaseStorage and BaseCollection
This commit is contained in:
parent
1453c0b72c
commit
040d8c0fff
15 changed files with 221 additions and 213 deletions
|
@ -31,7 +31,7 @@ class CollectionMetaMixin:
|
|||
|
||||
def get_meta(self, key=None):
|
||||
# reuse cached value if the storage is read-only
|
||||
if self._lock.locked == "w" or self._meta_cache is None:
|
||||
if self._storage._lock.locked == "w" or self._meta_cache is None:
|
||||
try:
|
||||
try:
|
||||
with open(self._props_path, encoding=self._encoding) as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue