Skip to content

Commit

Permalink
remove duplication of logs of module commands because run_shell_cmd a…
Browse files Browse the repository at this point in the history
…lready prints at info level the stdout and stderr of those commands
  • Loading branch information
lexming committed Feb 7, 2025
1 parent df528c6 commit 58e698b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion easybuild/tools/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,6 @@ def run_module(self, *args, **kwargs):
# stdout will contain python code (to change environment etc)
# stderr will contain text (just like the normal module command)
stdout, stderr = res.output, res.stderr
self.log.debug("Output of module command '%s': stdout: %s; stderr: %s", cmd, stdout, stderr)

# also catch and check exit code
if kwargs.get('check_exit_code', True) and res.exit_code != EasyBuildExit.SUCCESS:
Expand Down

0 comments on commit 58e698b

Please sign in to comment.