From 469801aef18f1eba5b40c1bf5aff5e1848b95985 Mon Sep 17 00:00:00 2001 From: Georgios Kafanas Date: Wed, 11 Sep 2024 09:31:45 +0200 Subject: [PATCH] [style] Use more expressive input variable name --- easybuild/framework/easyblock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easybuild/framework/easyblock.py b/easybuild/framework/easyblock.py index e728917d8e..ff425d4bfb 100644 --- a/easybuild/framework/easyblock.py +++ b/easybuild/framework/easyblock.py @@ -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) @@ -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)