spack env deactivate/spack unload: demote warning message to debug message (#19864)
This commit is contained in:
parent
2929f59c03
commit
e80276cd14
@ -508,7 +508,7 @@ def reversed(self):
|
|||||||
|
|
||||||
for envmod in reversed(self.env_modifications):
|
for envmod in reversed(self.env_modifications):
|
||||||
if type(envmod) == SetEnv:
|
if type(envmod) == SetEnv:
|
||||||
tty.warn("Reversing `Set` environment operation may lose "
|
tty.debug("Reversing `Set` environment operation may lose "
|
||||||
"original value")
|
"original value")
|
||||||
rev.unset(envmod.name)
|
rev.unset(envmod.name)
|
||||||
elif type(envmod) == AppendPath:
|
elif type(envmod) == AppendPath:
|
||||||
@ -516,7 +516,7 @@ def reversed(self):
|
|||||||
elif type(envmod) == PrependPath:
|
elif type(envmod) == PrependPath:
|
||||||
rev.remove_path(envmod.name, envmod.value)
|
rev.remove_path(envmod.name, envmod.value)
|
||||||
elif type(envmod) == SetPath:
|
elif type(envmod) == SetPath:
|
||||||
tty.warn("Reversing `SetPath` environment operation may lose "
|
tty.debug("Reversing `SetPath` environment operation may lose "
|
||||||
"original value")
|
"original value")
|
||||||
rev.unset(envmod.name)
|
rev.unset(envmod.name)
|
||||||
elif type(envmod) == AppendFlagsEnv:
|
elif type(envmod) == AppendFlagsEnv:
|
||||||
|
Loading…
Reference in New Issue
Block a user