diff options
author | Stephen Sorriaux <stephen.sorriaux@gmail.com> | 2023-04-24 14:35:42 -0400 |
---|---|---|
committer | Stephen Sorriaux <stephen.sorriaux@gmail.com> | 2023-04-24 18:12:39 -0400 |
commit | b39ca3748e1f3ea1cd393b52b9466fbfc2b29670 (patch) | |
tree | 0afb1a317c7d88710c919f1e92d489a92ad6eb5f /kazoo/recipe/lock.py | |
parent | 2c36d699fbf0569f490d5bfa66fa85fbdc68dea3 (diff) | |
download | kazoo-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