Modify

Opened 8 years ago

Closed 8 years ago

#1019 closed defect (fixed)

ThemeEngine fails in Python 2.3

Reported by: dgynn Owned by: coderanger
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 8 years ago by anonymous

Same here.

comment:2 Changed 8 years ago by dgynn

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in changeset:2074 . Thanks.

Add Comment

Modify Ticket

Action
as closed The owner will remain coderanger.
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.