From: Seth Forshee <seth.forshee@canonical.com>
To: wireless-regdb@lists.infradead.org
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH] wireless-regdb: Fix comparison of WmmRule with NoneType in python 3
Date: Fri, 25 May 2018 11:34:01 -0500 [thread overview]
Message-ID: <20180525163401.GW3401@ubuntu-xps13> (raw)
In-Reply-To: <20180518144701.25138-1-seth.forshee@canonical.com>
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 methods for WmmRule instead of
> using the ones provided by attrs. Doing this means we also need
> to supply a __hash__ method.
>
> Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Applied.
prev parent reply other threads:[~2018-05-25 16:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-18 14:47 [PATCH] wireless-regdb: Fix comparison of WmmRule with NoneType in python 3 Seth Forshee
2018-05-25 16:34 ` Seth Forshee [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180525163401.GW3401@ubuntu-xps13 \
--to=seth.forshee@canonical.com \
--cc=linux-wireless@vger.kernel.org \
--cc=wireless-regdb@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox