summaryrefslogtreecommitdiff
path: root/kazoo/recipe/lock.py
diff options
context:
space:
mode:
authorStephen Sorriaux <stephen.sorriaux@gmail.com>2023-04-24 14:35:42 -0400
committerStephen Sorriaux <stephen.sorriaux@gmail.com>2023-04-24 18:12:39 -0400
commitb39ca3748e1f3ea1cd393b52b9466fbfc2b29670 (patch)
tree0afb1a317c7d88710c919f1e92d489a92ad6eb5f /kazoo/recipe/lock.py
parent2c36d699fbf0569f490d5bfa66fa85fbdc68dea3 (diff)
downloadkazoo-b39ca3748e1f3ea1cd393b52b9466fbfc2b29670.tar.gz
fix(core): no need to alway perform an `os.stat(fd)`
Performing an `os.stat(fd)` on Windows platform generate a crash because the "handler is not valid". `select` already handle this possible case and there is no actual need to perform any kind of check before. This was removed, and the linked test slightly changed.
Diffstat (limited to 'kazoo/recipe/lock.py')
0 files changed, 0 insertions, 0 deletions