Modify

Opened 16 years ago

Closed 16 years ago

#3117 closed defect (fixed)

Trac: 0.11rc1 + TracPrivateTickets 2.0.1 gave "Trac detected an internal error: NameError: global name 'resouce' is not defined"

Reported by: wessel.louwris@… Owned by: Noah Kantrowitz
Priority: normal Component: PrivateTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When I install TracPrivateTickets from svn source on a Trac: 0.11rc1 install I got a

Trac detected an internal error: NameError: global name 'resouce' is not defined

a grep showed my that 0.11/privatetickets/policy.py had a typo in line 43:

if resource and resouce.realm == 'ticket' and resource.id is not None:

which should be

if resource and resource.realm == 'ticket' and resource.id is not None:

Attachments (0)

Change History (1)

comment:1 Changed 16 years ago by Noah Kantrowitz

Resolution: fixed
Status: newclosed

(In [3760]) Typo. (closes #3117)

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.