Adjust severity of irreversible operations (#43721)
This commit is contained in:
parent
080fc875eb
commit
e1f2612581
1 changed files with 2 additions and 2 deletions
|
@ -644,8 +644,8 @@ def reversed(self) -> "EnvironmentModifications":
|
||||||
elif isinstance(envmod, AppendFlagsEnv):
|
elif isinstance(envmod, AppendFlagsEnv):
|
||||||
rev.remove_flags(envmod.name, envmod.value)
|
rev.remove_flags(envmod.name, envmod.value)
|
||||||
else:
|
else:
|
||||||
tty.warn(
|
tty.debug(
|
||||||
f"Skipping reversal of unreversable operation {type(envmod)} {envmod.name}"
|
f"Skipping reversal of irreversible operation {type(envmod)} {envmod.name}"
|
||||||
)
|
)
|
||||||
|
|
||||||
return rev
|
return rev
|
||||||
|
|
Loading…
Reference in a new issue