Modify ↓
#6506 closed defect (fixed)
mastertickets fails with python2.3 (sorted() not in 2.3)
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | MasterTicketsPlugin |
Severity: | normal | Keywords: | python 2.3 sorted incompatible |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
In mastertickets/util.py
, the following line
from trac.util.compat import set
should be changed to
from trac.util.compat import set, sorted
because unfortunately that seems to have been missed util.py but is present in any other files that use sorted().
Well hey, easy bug, at least.
Attachments (0)
Change History (5)
comment:1 Changed 12 years ago by
Owner: | changed from Noah Kantrowitz to Ryan J Ollos |
---|---|
Status: | new → assigned |
comment:2 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 12 years ago by
The 0.11 version is also being hosted on GitHub, which I didn't realize initially. I pushed the patch there in ec0805f73e8975a721d0b27319f27ca646c81696.
Note: See
TracTickets for help on using
tickets.
(In [12131]) Fixes #6506: Import
sorted
fromtrac.util.compat
, for compatibility with Python 2.3. Thanks to ryan@… for the patch.