Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #10 from bdkearns/master

Actually fix the version check in _poll()
  • Loading branch information...
commit 205b0a19f9a1177281aad83f99a19195f31c3247 2 parents dd0556e + a53d596
@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 < c_int(3):
+ if major.value < 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.