Skip to content

Commit

Permalink
ensure compatibility with python < 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
jfgrimm authored Sep 26, 2024
1 parent 7f72572 commit 61cba5f
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 @@ -4311,7 +4311,7 @@ def ensure_writable_log_dir(log_dir):
if build_option('read_only_installdir'):
# temporarily re-enable write permissions for copying log/easyconfig to install dir,
# ensuring that we resolve symlinks
log_dir = os.path.realpath(log_dir, strict=True)
log_dir = os.path.realpath(log_dir)
if os.path.exists(log_dir):
adjust_permissions(log_dir, stat.S_IWUSR, add=True, recursive=True)
else:
Expand Down

0 comments on commit 61cba5f

Please sign in to comment.