Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,17 @@


# Ensure that we don't print any messages in --terse mode
# Note that --terse was introduced in EB 4.9.1
orig_print_msg = print_msg
orig_print_warning = print_warning

def print_msg(*args, **kwargs):
if not build_option('terse'):
if EASYBUILD_VERSION < '4.9.1' or not build_option('terse'):
orig_print_msg(*args, **kwargs)


def print_warning(*args, **kwargs):
if not build_option('terse'):
if EASYBUILD_VERSION < '4.9.1' or not build_option('terse'):
orig_print_warning(*args, **kwargs)


Expand Down