mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
fix fo E261 at least two spaces before inline comment
This commit is contained in:
parent
551b5c2272
commit
913635a17e
5 changed files with 5 additions and 5 deletions
|
@ -87,7 +87,7 @@ class CollectionPartCache(CollectionBase):
|
|||
self._storage._makedirs_synced(cache_folder)
|
||||
# Race: Other processes might have created and locked the file.
|
||||
# TODO: better fix for "mypy"
|
||||
with contextlib.suppress(PermissionError), self._atomic_write( # type: ignore
|
||||
with contextlib.suppress(PermissionError), self._atomic_write( # type: ignore
|
||||
os.path.join(cache_folder, href), "wb") as fo:
|
||||
fb = cast(BinaryIO, fo)
|
||||
pickle.dump((cache_hash, *content), fb)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue