From e1f26125814bdce4724cdee0dc4687bce81370d2 Mon Sep 17 00:00:00 2001 From: Kyle Knoepfel Date: Mon, 22 Apr 2024 09:41:53 -0500 Subject: [PATCH] Adjust severity of irreversible operations (#43721) --- lib/spack/spack/util/environment.py | 4 ++-- 1 file 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 @@ def reversed(self) -> "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