Re: [ovs-dev] [PATCH 09/11] python: Don't compare None and int.

2016-02-02 Thread Ben Pfaff
On Fri, Jan 22, 2016 at 09:32:31PM -0500, Russell Bryant wrote: > Comparing None to an integer worked in Python 2, but fails in Python 3. > > Signed-off-by: Russell Bryant > --- > python/ovs/reconnect.py | 2 +- > tests/test-reconnect.py | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-)

[ovs-dev] [PATCH 09/11] python: Don't compare None and int.

2016-01-22 Thread Russell Bryant
Comparing None to an integer worked in Python 2, but fails in Python 3. Signed-off-by: Russell Bryant --- python/ovs/reconnect.py | 2 +- tests/test-reconnect.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ovs/reconnect.py b/python/ovs/reconnect.py index 39dd556