Py3: failure when data managers don't supply a sort key
Bug #1051345 reported by
Chris McDonough
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
transaction |
New
|
Undecided
|
Unassigned |
Bug Description
In Python 3, when multiple datamanagers are joined to a transaction and those
datamanagers do not have a ``sortKey`` method, we would previously get an
exception in ``transaction.
since Python 3 no longer supports comparisons if the operands are None.
A patch is attached which causes ``transaction.
class instead of None if the datamanager does not have a ``sortKey`` method, which fixes this problem.
To post a comment you must log in.
Note that this patch was originally supplied by Chris Rossi.