Ticket #6506 (closed defect: fixed)

Opened 3 years ago

Last modified 8 months ago

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

Reported by: ryan@igglybob.com Assigned to: 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/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

Change History

10/08/12 13:31:49 changed by rjollos

  • owner changed from coderanger to rjollos.
  • status changed from new to assigned.

10/08/12 13:32:16 changed by rjollos

  • description changed.

10/08/12 13:34:04 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to fixed.

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

10/08/12 13:56:12 changed 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.

10/08/12 21:50:50 changed by ryan@igglybob.com

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


Add/Change #6506 (mastertickets fails with python2.3 (sorted() not in 2.3))




Change Properties
Action