diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/llnl/util/filesystem.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/spack/llnl/util/filesystem.py b/lib/spack/llnl/util/filesystem.py index d525884ee9..273840a424 100644 --- a/lib/spack/llnl/util/filesystem.py +++ b/lib/spack/llnl/util/filesystem.py @@ -201,7 +201,6 @@ def filter_file(regex, repl, *filenames, **kwargs): output_file.writelines(input_file.readlines()) except BaseException: - os.remove(tmp_filename) # clean up the original file on failure. shutil.move(backup_filename, filename) raise |