From 79fd1c5114e8aa7fb2d44a3f17c7b3dc1547cbcd Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Thu, 16 Dec 2021 13:50:20 +0100 Subject: Set backup=False by default in filter_file (#28036) --- lib/spack/llnl/util/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2