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

Russell Bryant russell at ovn.org
Fri Jan 22 13:26:20 UTC 2016


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 prevent regressions in the future.
>>
>> Signed-off-by: Russell Bryant <russell at ovn.org>
> 
> Acked-by: Ben Pfaff <blp at ovn.org>
> 

Thanks, pushed to master.

-- 
Russell Bryant



More information about the dev mailing list