From 22a7f98141e6963db1ba9c42d718bc979ac6846b Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Mon, 18 Jul 2022 14:03:58 +0200 Subject: Fix typo in function --- lib/spack/spack/fetch_strategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2