Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
easybuild-repository-public-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DEEP-SEA
easybuild-repository-public-release
Commits
72a7edfe
Commit
72a7edfe
authored
Jun 11, 2021
by
Damian Alvarez
Browse files
Options
Downloads
Patches
Plain Diff
To make both messages to be printed on stderr
parent
8e04ae7a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Custom_Hooks/eb_hooks.py
+2
-2
2 additions, 2 deletions
Custom_Hooks/eb_hooks.py
with
2 additions
and
2 deletions
Custom_Hooks/eb_hooks.py
+
2
−
2
View file @
72a7edfe
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment