python: Don't compare None and int.
authorRussell Bryant <russell@ovn.org>
Thu, 17 Dec 2015 14:56:44 +0000 (09:56 -0500)
committerRussell Bryant <russell@ovn.org>
Tue, 2 Feb 2016 21:42:21 +0000 (16:42 -0500)
commitc03afda69ae8b1be9d3d94ded0e1c12f6e886dba
tree44a3a106a0d48075004b9092529e1178f8bae4a8
parentda2d45c6c6e7379d3097708385121b2b4dbc16fb
python: Don't compare None and int.

Comparing None to an integer worked in Python 2, but fails in Python 3.

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
python/ovs/reconnect.py
tests/test-reconnect.py