Skip to content

Commit

Permalink
[style] Use more expressive input variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
gkaf89 committed Jan 7, 2025
1 parent be4f960 commit 469801a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -4205,7 +4205,7 @@ def print_dry_run_note(loc, silent=True):
dry_run_msg(msg, silent=silent)


def persists_failed_compilation_log_and_artifacts(success, application_log, silent, app, err_log_path):
def persists_failed_compilation_log_and_artifacts(build_successful, application_log, silent, app, err_log_path):
if application_log:
# there may be multiple log files, or the file name may be different due to zipping
logs = glob.glob('%s*' % application_log)
Expand All @@ -4215,7 +4215,7 @@ def persists_failed_compilation_log_and_artifacts(success, application_log, sile
silent=silent
)

if err_log_path and not success:
if err_log_path and not build_successful:
for log_file in logs:
target_file = os.path.join(err_log_path, os.path.basename(log_file))
copy_file(log_file, target_file)
Expand Down

0 comments on commit 469801a

Please # to comment.