Skip to content

Commit b34ff11

Browse files
committed
[style] Use more expressive input variable name
1 parent deef958 commit b34ff11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

easybuild/framework/easyblock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4197,7 +4197,7 @@ def print_dry_run_note(loc, silent=True):
41974197
dry_run_msg(msg, silent=silent)
41984198

41994199

4200-
def persists_failed_compilation_log_and_artifacts(success, application_log, silent, app, err_log_path):
4200+
def persists_failed_compilation_log_and_artifacts(build_successful, application_log, silent, app, err_log_path):
42014201
if application_log:
42024202
# there may be multiple log files, or the file name may be different due to zipping
42034203
logs = glob.glob('%s*' % application_log)
@@ -4207,7 +4207,7 @@ def persists_failed_compilation_log_and_artifacts(success, application_log, sile
42074207
silent=silent
42084208
)
42094209

4210-
if err_log_path and not success:
4210+
if err_log_path and not build_successful:
42114211
for log_file in logs:
42124212
target_file = os.path.join(err_log_path, os.path.basename(log_file))
42134213
copy_file(log_file, target_file)

0 commit comments

Comments
 (0)