Skip to content
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

fix: write_file was not handling exception correctly TDE-1007 #836

Conversation

paulfouquet
Copy link
Collaborator

Motivation

write_file() was not handling exception correctly due to calling another function in the executor arguments.

Modification

  • Create a copy() method (calling write() and read()) that allow the executor to call a single function.
  • Refactor/simplify some code for readibility

Checklist

If not applicable, provide explanation of why.

  • Tests updated
  • Docs updated
  • Issue linked in Title

amfage
amfage previously approved these changes Feb 4, 2024
MDavidson17
MDavidson17 previously approved these changes Feb 6, 2024
l0b0
l0b0 previously approved these changes Feb 6, 2024
scripts/files/fs.py Outdated Show resolved Hide resolved
@paulfouquet
Copy link
Collaborator Author

The GitHub Actions are not run. TDE-1032

l0b0
l0b0 previously approved these changes Feb 7, 2024
amfage
amfage previously approved these changes Feb 7, 2024
@paulfouquet paulfouquet dismissed stale reviews from amfage and l0b0 via 78e8efa February 7, 2024 22:58
@paulfouquet paulfouquet added this pull request to the merge queue Feb 8, 2024
Merged via the queue into linz:master with commit caa289b Feb 8, 2024
1 check passed
@paulfouquet paulfouquet deleted the fix/write-file-does-not-handle-exception-correctly-tde-1007 branch February 8, 2024 00:09
@github-actions github-actions bot mentioned this pull request Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants