Skip to content

Commit

Permalink
Windows support
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
ajdavis committed Feb 16, 2018
1 parent 6cb3885 commit e686ab0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mockupdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,8 @@ def _accept_loop(self):
server_thread.daemon = True
server_thread.start()
except socket.error as error:
if error.errno not in (errno.EAGAIN, errno.EBADF):
if error.errno not in (
errno.EAGAIN, errno.EBADF, errno.EWOULDBLOCK):
raise
except select.error as error:
if error.args[0] == errno.EBADF:
Expand Down

0 comments on commit e686ab0

Please sign in to comment.