Apply suggestion from @bgruening

This commit is contained in:
Björn Grüning
2026-03-27 16:15:30 +01:00
committed by GitHub
parent 9d2380f206
commit 3fe84bda83
-1
View File
@@ -358,7 +358,6 @@ class CachingConcreteObjectStore(ConcreteObjectStore):
if source_file != cache_file and self.cache_updated_data:
# FIXME? Should this be a `move`?
shutil.copy(source_file, cache_file)
self._refresh_cache_file_timestamp(rel_path)
fix_permissions(self.config, cache_file)
except OSError:
log.exception("Trouble copying source file '%s' to cache '%s'", source_file, cache_file)