Modify

Opened 9 years ago

Closed 8 years ago

#5367 closed defect (wontfix)

sorted not defined in python 2.3

Reported by: daniele.domenichelli@… Owned by: Radek Bartoň
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 9 years ago by Radek Bartoň

Status: newassigned

Python 2.3? Are you kidding? :-)

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

Unluckily no :-(

And I cannot upgrade it...

comment:3 Changed 8 years ago by Radek Bartoň

Resolution: wontfix
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.