Modify

Opened 5 years ago

Closed 5 years ago

#5367 closed defect (wontfix)

sorted not defined in python 2.3

Reported by: daniele.domenichelli@… Owned by: Blackhex
Priority: normal Component: ScreenshotsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

In python 2.3 sorted is not defined and adding a new screenshot works, but after uploading the image an error page is showed.

This is a patch to correct this behaviour

  • tracscreenshots/api.py

     
    77from trac.config import Option
    88from trac.wiki.formatter import format_to_html, format_to_oneliner
    99from trac.util.datefmt import to_timestamp, to_datetime, utc, pretty_timedelta
     10from trac.util.compat import sorted
    1011
    1112class IScreenshotChangeListener(Interface):
    1213    """Extension point interface for components that require notification

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by Blackhex

  • Status changed from new to assigned

Python 2.3? Are you kidding? :-)

comment:2 Changed 5 years ago by daniele.domenichelli@…

Unluckily no :-(

And I cannot upgrade it...

comment:3 Changed 5 years ago by Blackhex

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

Add Comment

Modify Ticket

Action
as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.