Modify

Opened 14 years ago

Closed 12 years ago

Last modified 12 years ago

#6506 closed defect (fixed)

mastertickets fails with python2.3 (sorted() not in 2.3)

Reported by: ryan@… 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 Ryan J Ollos)

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 Ryan J Ollos

Owner: changed from Noah Kantrowitz to Ryan J Ollos
Status: newassigned

comment:2 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)

comment:3 Changed 12 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

(In [12131]) Fixes #6506: Import sorted from trac.util.compat, for compatibility with Python 2.3. Thanks to ryan@… for the patch.

comment:4 Changed 12 years ago by Ryan J Ollos

The 0.11 version is also being hosted on GitHub, which I didn't realize initially. I pushed the patch there in ec0805f73e8975a721d0b27319f27ca646c81696.

comment:5 Changed 12 years ago by ryan@…

Thanks! The mastertickets plugin is wonderful and very useful. :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.