Re: [ovs-dev] [PATCH v2 5/5] python: Remove old style classes.

2016-01-22 Thread Russell Bryant
On 01/22/2016 12:03 AM, Ben Pfaff wrote: > On Tue, Jan 12, 2016 at 02:45:49PM -0500, Russell Bryant wrote: >> Python 3 removed support for "old-style classes". Classes should always >> inherit from object to get consistent behavior between Python 2 and 3. >> >> Enable a flake8 warning to help prev

Re: [ovs-dev] [PATCH v2 5/5] python: Remove old style classes.

2016-01-21 Thread Ben Pfaff
On Tue, Jan 12, 2016 at 02:45:49PM -0500, Russell Bryant wrote: > Python 3 removed support for "old-style classes". Classes should always > inherit from object to get consistent behavior between Python 2 and 3. > > Enable a flake8 warning to help prevent regressions in the future. > > Signed-off

[ovs-dev] [PATCH v2 5/5] python: Remove old style classes.

2016-01-12 Thread Russell Bryant
Python 3 removed support for "old-style classes". Classes should always inherit from object to get consistent behavior between Python 2 and 3. Enable a flake8 warning to help prevent regressions in the future. Signed-off-by: Russell Bryant --- Makefile.am | 3 ++- debian/ovs-monit