Skip to content

Commit 61cba5f

Browse files
authored
ensure compatibility with python < 3.10
1 parent 7f72572 commit 61cba5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/framework/easyblock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4311,7 +4311,7 @@ def ensure_writable_log_dir(log_dir):
43114311
if build_option('read_only_installdir'):
43124312
# temporarily re-enable write permissions for copying log/easyconfig to install dir,
43134313
# ensuring that we resolve symlinks
4314-
log_dir = os.path.realpath(log_dir, strict=True)
4314+
log_dir = os.path.realpath(log_dir)
43154315
if os.path.exists(log_dir):
43164316
adjust_permissions(log_dir, stat.S_IWUSR, add=True, recursive=True)
43174317
else:

0 commit comments

Comments
 (0)