easybuild-framework icon indicating copy to clipboard operation
easybuild-framework copied to clipboard

Print potential errors after running a command only once

Open Flamefire opened this issue 3 years ago • 0 comments

parse_cmd_output calls parse_log_for_error which outputs potential errors by default via log.info. The former then outputs those via log.warning again. Fix this by passing stdout=False to the latter. Also minor rewording and variable renaming.

Flamefire avatar Aug 23 '22 11:08 Flamefire