summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/fetch_strategy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/fetch_strategy.py b/lib/spack/spack/fetch_strategy.py
index 339d805712..23c3eaf088 100644
--- a/lib/spack/spack/fetch_strategy.py
+++ b/lib/spack/spack/fetch_strategy.py
@@ -488,7 +488,7 @@ class URLFetchStrategy(FetchStrategy):
self._check_headers(headers)
if save_file and (partial_file is not None):
- fs.rename(partial_file, save_file)
+ os.rename(partial_file, save_file)
@property # type: ignore # decorated properties unsupported in mypy
@_needs_stage