New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change copy_file to ignore failing copy of file metadata by using shutil.copyfile + shutil.copystat rather than shutil.copy2 #3912
base: develop
Are you sure you want to change the base?
Conversation
…til.copyfile + shutil.copystat rather than shutil.copy2 (fixes easybuilders#3910)
When reading the docco on shutil.copy2 I don't see the point in this change:
Note the part where copy2 won't raise an exception reg metadata... |
Hmm, that confuses me a bit, since the problem report in #3910 does show that an error was raised. @ofisette Any chance you can test the changes proposed here to see if it actually helps for the problem you're seeing? Seems like it won't... cc @bartoldeman |
@boegel The
Looking at the |
There's another issue with this patch is that the if/else logic could possibly be simplified since there's another |
No description provided.