Opened 7 years ago

Closed 4 years ago

Last modified 4 years ago

#6506 closed defect (fixed)

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

Reported by: ryan@… Owned by: rjollos
Priority: normal Component: MasterTicketsPlugin
Severity: normal Keywords: python 2.3 sorted incompatible
Cc: Trac Release: 0.11

Description (last modified by rjollos)

In mastertickets/, 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 but is present in any other files that use sorted().

Well hey, easy bug, at least.

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by rjollos

  • Owner changed from coderanger to rjollos
  • Status changed from new to assigned

comment:2 Changed 4 years ago by rjollos

  • Description modified (diff)

comment:3 Changed 4 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

(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 4 years ago by rjollos

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 4 years ago by ryan@…

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

Add Comment

Modify Ticket

as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.