Skip to content
Snippets Groups Projects
Commit 72a7edfe authored by Damian Alvarez's avatar Damian Alvarez
Browse files

To make both messages to be printed on stderr

parent 8e04ae7a
Branches
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ import os ...@@ -4,7 +4,7 @@ import os
from easybuild.tools.run import run_cmd from easybuild.tools.run import run_cmd
from easybuild.tools.config import build_option from easybuild.tools.config import build_option
from easybuild.tools.config import install_path from easybuild.tools.config import install_path
from easybuild.tools.build_log import EasyBuildError, print_warning from easybuild.tools.build_log import EasyBuildError, print_msg, print_warning
from easybuild.tools.toolchain.toolchain import SYSTEM_TOOLCHAIN_NAME from easybuild.tools.toolchain.toolchain import SYSTEM_TOOLCHAIN_NAME
from easybuild.toolchains.compiler.systemcompiler import TC_CONSTANT_SYSTEM from easybuild.toolchains.compiler.systemcompiler import TC_CONSTANT_SYSTEM
...@@ -77,7 +77,7 @@ def installation_vetoer(ec): ...@@ -77,7 +77,7 @@ def installation_vetoer(ec):
f"packages can't be installed in {system_name}:\n" f"packages can't be installed in {system_name}:\n"
) )
for package in VETOED_INSTALLATIONS[system_name]: for package in VETOED_INSTALLATIONS[system_name]:
print(f"- {package}") print_msg(f"- {package}", stderr=True)
exit(1) exit(1)
def parse_hook(ec, *args, **kwargs): def parse_hook(ec, *args, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment