diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-12-16 13:50:20 +0100 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-12-23 16:02:09 +0100 |
commit | 79fd1c5114e8aa7fb2d44a3f17c7b3dc1547cbcd (patch) | |
tree | 48b7604175c167cd9851d67abc1ae5fffb05a85d /lib | |
parent | 13e36c5457422120105c1fdaf2f9945723f2bcf9 (diff) | |
download | spack-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.py | 2 |
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) |