Modify ↓
Opened 16 years ago
Closed 16 years ago
#5367 closed defect (wontfix)
sorted not defined in python 2.3
| Reported by: | 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
7 7 from trac.config import Option 8 8 from trac.wiki.formatter import format_to_html, format_to_oneliner 9 9 from trac.util.datefmt import to_timestamp, to_datetime, utc, pretty_timedelta 10 from trac.util.compat import sorted 10 11 11 12 class IScreenshotChangeListener(Interface): 12 13 """Extension point interface for components that require notification
Attachments (0)
Change History (3)
comment:1 Changed 16 years ago by
| Status: | new → assigned |
|---|
comment:3 Changed 16 years ago by
| Resolution: | → wontfix |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.



Python 2.3? Are you kidding? :-)