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

Enable the "unreachable" pylint warning and remove unused code #2987

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

correctmost
Copy link
Contributor

PR Description:

The os.fsync call causes an "invalid argument" OSError when it actually runs, so it has been removed altogether.

Closes #2773

Tests and Checks

  • I have tested the code!

The os.fsync call causes an "invalid argument" OSError when it
actually runs, so it has been removed altogether.

Closes archlinux#2773
@correctmost correctmost requested a review from Torxed as a code owner December 1, 2024 06:59
@svartkanin svartkanin merged commit 0bc2ad7 into archlinux:master Dec 1, 2024
8 checks passed
@correctmost correctmost deleted the cm/fix-unreachable-code branch December 1, 2024 07:40
castillofrancodamian pushed a commit to castillofrancodamian/archinstall that referenced this pull request Dec 21, 2024
…inux#2987)

The os.fsync call causes an "invalid argument" OSError when it
actually runs, so it has been removed altogether.

Closes archlinux#2773
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.

Unreachable fsync call in SysCommandWorker.write
2 participants