mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
make flake8 happy
This commit is contained in:
parent
edd6d0a513
commit
24f5f9b98e
5 changed files with 9 additions and 15 deletions
|
@ -42,10 +42,8 @@ class StoragePartMove(StorageBase):
|
|||
if item.collection._filesystem_path != to_collection._filesystem_path:
|
||||
self._sync_directory(item.collection._filesystem_path)
|
||||
# Move the item cache entry
|
||||
cache_folder = self._get_collection_cache_folder(item.collection._filesystem_path,
|
||||
".Radicale.cache", "item")
|
||||
to_cache_folder = self._get_collection_cache_folder(to_collection._filesystem_path,
|
||||
".Radicale.cache", "item")
|
||||
cache_folder = self._get_collection_cache_folder(item.collection._filesystem_path, ".Radicale.cache", "item")
|
||||
to_cache_folder = self._get_collection_cache_folder(to_collection._filesystem_path, ".Radicale.cache", "item")
|
||||
self._makedirs_synced(to_cache_folder)
|
||||
try:
|
||||
os.replace(os.path.join(cache_folder, item.href),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue