summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-12-16 13:50:20 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-12-23 16:02:09 +0100
commit79fd1c5114e8aa7fb2d44a3f17c7b3dc1547cbcd (patch)
tree48b7604175c167cd9851d67abc1ae5fffb05a85d /lib
parent13e36c5457422120105c1fdaf2f9945723f2bcf9 (diff)
downloadspack-79fd1c5114e8aa7fb2d44a3f17c7b3dc1547cbcd.tar.gz
spack-79fd1c5114e8aa7fb2d44a3f17c7b3dc1547cbcd.tar.bz2
spack-79fd1c5114e8aa7fb2d44a3f17c7b3dc1547cbcd.tar.xz
spack-79fd1c5114e8aa7fb2d44a3f17c7b3dc1547cbcd.zip
Set backup=False by default in filter_file (#28036)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/llnl/util/filesystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/llnl/util/filesystem.py b/lib/spack/llnl/util/filesystem.py
index 4c4ea1d5b8..753129b78e 100644
--- a/lib/spack/llnl/util/filesystem.py
+++ b/lib/spack/llnl/util/filesystem.py
@@ -141,7 +141,7 @@ def filter_file(regex, repl, *filenames, **kwargs):
file.
"""
string = kwargs.get('string', False)
- backup = kwargs.get('backup', True)
+ backup = kwargs.get('backup', False)
ignore_absent = kwargs.get('ignore_absent', False)
stop_at = kwargs.get('stop_at', None)