summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKyle Knoepfel <knoepfel@fnal.gov>2024-04-22 09:41:53 -0500
committerGitHub <noreply@github.com>2024-04-22 16:41:53 +0200
commite1f26125814bdce4724cdee0dc4687bce81370d2 (patch)
treeea21cebce275d2e9496f57d746be806e9fedec52 /lib
parent080fc875eb233010f160744b9d1e71d7fb52d8c9 (diff)
downloadspack-e1f26125814bdce4724cdee0dc4687bce81370d2.tar.gz
spack-e1f26125814bdce4724cdee0dc4687bce81370d2.tar.bz2
spack-e1f26125814bdce4724cdee0dc4687bce81370d2.tar.xz
spack-e1f26125814bdce4724cdee0dc4687bce81370d2.zip
Adjust severity of irreversible operations (#43721)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/util/environment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/util/environment.py b/lib/spack/spack/util/environment.py
index af15cd2764..1d53d33efc 100644
--- a/lib/spack/spack/util/environment.py
+++ b/lib/spack/spack/util/environment.py
@@ -644,8 +644,8 @@ class EnvironmentModifications:
elif isinstance(envmod, AppendFlagsEnv):
rev.remove_flags(envmod.name, envmod.value)
else:
- tty.warn(
- f"Skipping reversal of unreversable operation {type(envmod)} {envmod.name}"
+ tty.debug(
+ f"Skipping reversal of irreversible operation {type(envmod)} {envmod.name}"
)
return rev