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(io.default): Handle PermissionError during check #177

Merged
merged 3 commits into from
May 9, 2024

Conversation

ketiltrout
Copy link
Member

A PermissionError while checking a file will now result in it being considered corrupt.

Bonus: fixed some ham-fisted mocking in tests/io/test_lustrehsmnode.py which was not being properly cleaned up after the test finished.

Closes #176

A PermissionError while checking a file will now result in it
being considered corrupt.

Bonus: fixed some ham-fisted mocking in tests/io/test_lustrehsmnode.py
  which was not being properly cleaned up after the test finished.

Closes #176
@ketiltrout ketiltrout requested review from ljgray and rikvl May 2, 2024 23:55
Copy link
Contributor

@ljgray ljgray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me, just one comment

alpenhorn/io/default.py Outdated Show resolved Hide resolved
@ketiltrout ketiltrout merged commit 47557d2 into master May 9, 2024
3 checks passed
@ketiltrout ketiltrout deleted the permissionerror_in_md5 branch May 9, 2024 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PermissionError causes global abort
3 participants