Skip to content
Snippets Groups Projects
Commit 76abd184 authored by scott snyder's avatar scott snyder
Browse files

AthenaCommon: Fix flag comparison for python 3.

With python 3, we need to use __bool__ instead of __nonzero__.
__cmp__ also doesn't work.  Instead, we provide __lt__ and generate
the remainder using functools.total_ordering.
parent 234f18b0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment