Re: [PATCH] wireless-regdb: Fix comparison of WmmRule with NoneType in python 3

2018-05-25 Thread Seth Forshee
On Fri, May 18, 2018 at 09:47:01AM -0500, Seth Forshee wrote: > Python 3 gives errors as a result of the changes to add wmm > rules since Permission.wmmrule can be set to None: > > TypeError: '<' not supported between instances of 'WmmRule' and 'NoneType' > > To fix this, supply compairson

[PATCH] wireless-regdb: Fix comparison of WmmRule with NoneType in python 3

2018-05-18 Thread Seth Forshee
Python 3 gives errors as a result of the changes to add wmm rules since Permission.wmmrule can be set to None: TypeError: '<' not supported between instances of 'WmmRule' and 'NoneType' To fix this, supply compairson methods for WmmRule instead of using the ones provided by attrs. Doing this