Skip to content

Commit

Permalink
fix minor code style issue by using "not success" instead of "not(suc…
Browse files Browse the repository at this point in the history
…cess)"
  • Loading branch information
boegel authored and gkaf89 committed Jan 7, 2025
1 parent 7e162f6 commit be4f960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 success:
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 be4f960

Please # to comment.