Modify

Opened 17 years ago

Closed 17 years ago

#1019 closed defect (fixed)

ThemeEngine fails in Python 2.3

Reported by: Dave Gynn Owned by: Noah Kantrowitz
Priority: normal Component: ThemeEnginePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

I had the following error with ThemeEnginePlugin in Python 2.3

NameError: name 'set' is not defined
      args = ("name 'set' is not defined",) 

I modified themeengine/filter.py as follows and got it to work

try:
    set
except NameError:
    from sets import Set as set

Attachments (0)

Change History (2)

comment:1 Changed 17 years ago by anonymous

Same here.

comment:2 Changed 17 years ago by Dave Gynn

Resolution: fixed
Status: newclosed

Fixed in changeset:2074 . Thanks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.