python: Remove reamining direct type comparisons.
authorRussell Bryant <russell@ovn.org>
Wed, 16 Dec 2015 21:16:49 +0000 (16:16 -0500)
committerRussell Bryant <russell@ovn.org>
Tue, 2 Feb 2016 21:42:10 +0000 (16:42 -0500)
commitda2d45c6c6e7379d3097708385121b2b4dbc16fb
tree9e6bc4484bb6be2c9dec48ad08f8216737a8a960
parenteac25f500ab9e53d2be076c1f5076733e882b927
python: Remove reamining direct type comparisons.

I've hit several bugs in this Python 3 work where the fix was some code
needed to be converted to use isinstance().  This has been primarily
around deadling with the changes to unicode handling.  Go ahead and
convert the rest of the direct type comparisons to use isinstance(), as
it could avoid a bug I haven't hit yet and it's more Pythonic, anyway.

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
python/ovs/db/data.py
python/ovs/db/idl.py
python/ovs/db/parser.py
python/ovs/db/schema.py
python/ovs/json.py
python/ovs/jsonrpc.py
python/ovs/socket_util.py