Skip to content

Commit

Permalink
long line
Browse files Browse the repository at this point in the history
  • Loading branch information
jfgrimm committed Sep 18, 2024
1 parent df9827d commit 202ae52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion easybuild/tools/filetools.py
Original file line number Diff line number Diff line change
Expand Up @@ -2455,7 +2455,8 @@ def copy_file(path, target_path, force_in_dry_run=False):
# double-check whether the copy actually succeeded
if not os.path.exists(target_path) or not filecmp.cmp(path, target_path, shallow=False):
raise EasyBuildError("Failed to copy file %s to %s: %s", path, target_path, err)
msg = "%s copied to %s, ignoring permissions error (likely due to https://bugs.python.org/issue24538): %s"
msg = ("%s copied to %s, ignoring permissions error (likely due to "
"https://bugs.python.org/issue24538): %s")
_log.info(msg, path, target_path, err)
elif os.path.islink(path):
if os.path.isdir(target_path):
Expand Down

0 comments on commit 202ae52

Please sign in to comment.