Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #9 from kahseng/master

Possible bug in _poll() version check.
  • Loading branch information...
commit f0023dc7de786a2bb05669808675b9faecab3d50 2 parents fb8f78e + 8119b8c
@svpcom authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  zmq/_zmq.py
View
2  zmq/_zmq.py
@@ -517,7 +517,7 @@ def _poll(sockets, timeout=-1):
timeout : int
The number of milliseconds to poll for. Negative means no timeout.
"""
- if major < 3:
+ if major < c_int(3):
# timeout is us in 2.x, ms in 3.x
# expected input is ms (matches 3.x)
timeout = 1000 * timeout
Please sign in to comment.
Something went wrong with that request. Please try again.