Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 1, 2024
1 parent 1e12cbf commit a75611a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cola/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,15 +486,15 @@ def _fdatasync(fd):
"""fdatasync the file descriptor. Returns True on success"""
try:
os.fdatasync(fd)
except (IOError, OSError):
except OSError:
pass


def _fsync(fd):
"""fsync the file descriptor. Returns True on success"""
try:
os.fsync(fd)
except (IOError, OSError):
except OSError:
pass


Expand Down

0 comments on commit a75611a

Please sign in to comment.