don't use select.POLL* constants
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sun, 18 Nov 2012 18:50:52 +0000 (03:50 +0900)
committerBen Pfaff <blp@nicira.com>
Mon, 19 Nov 2012 17:11:12 +0000 (09:11 -0800)
commitbb1c9a6518807ac131a3a7ce77453004e05262e4
tree0e4db482d70eab26da089112e2a5eadd4b4cc08a
parent568e23fc2772235204dcabb61e1425b312070da2
don't use select.POLL* constants

Python doesn't have select.POLL* constants on some architectures
(e.g. MacOSX). This code needs to define the constants for itself. It
uses select.POLL* constants only internally (doesn't pass them
outside). So there is no harm even if the definition would conflict
with Python's those.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
python/ovs/poller.py
python/ovs/socket_util.py
python/ovs/stream.py