Modify

Opened 6 years ago

Closed 6 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: coderanger
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 6 years ago by coderanger

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

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from coderanger. Next status will be 'closed'.
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.