summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-07-18 14:03:58 +0200
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-07-20 08:10:41 +0200
commit22a7f98141e6963db1ba9c42d718bc979ac6846b (patch)
tree23903cbbabbdf8f4dbbf3b7ccbbc6dd74196f28e
parent1bbf2fa93e863e299985ff520e63b97959523801 (diff)
downloadspack-22a7f98141e6963db1ba9c42d718bc979ac6846b.tar.gz
spack-22a7f98141e6963db1ba9c42d718bc979ac6846b.tar.bz2
spack-22a7f98141e6963db1ba9c42d718bc979ac6846b.tar.xz
spack-22a7f98141e6963db1ba9c42d718bc979ac6846b.zip
Fix typo in function
-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