mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-08-31 01:02:04 +08:00
Apply suggestion from @bgruening
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user