summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/util/environment.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/spack/spack/util/environment.py b/lib/spack/spack/util/environment.py
index 7e6d34e64d..b370053c3c 100644
--- a/lib/spack/spack/util/environment.py
+++ b/lib/spack/spack/util/environment.py
@@ -508,16 +508,16 @@ class EnvironmentModifications(object):
for envmod in reversed(self.env_modifications):
if type(envmod) == SetEnv:
- tty.warn("Reversing `Set` environment operation may lose "
- "original value")
+ tty.debug("Reversing `Set` environment operation may lose "
+ "original value")
rev.unset(envmod.name)
elif type(envmod) == AppendPath:
rev.remove_path(envmod.name, envmod.value)
elif type(envmod) == PrependPath:
rev.remove_path(envmod.name, envmod.value)
elif type(envmod) == SetPath:
- tty.warn("Reversing `SetPath` environment operation may lose "
- "original value")
+ tty.debug("Reversing `SetPath` environment operation may lose "
+ "original value")
rev.unset(envmod.name)
elif type(envmod) == AppendFlagsEnv:
rev.remove_flags(envmod.name, envmod.value)