Modify

Opened 15 years ago

Last modified 15 years ago

#5944 assigned defect

undefined global, _usage

Reported by: Jeff Hammel Owned by: Simon Smithson
Priority: normal Component: RssEmbedMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

doing [[RssEmbed(http://trac-hacks.org/query?status=new&status=assigned&status=reopened&format=rss&component=GeoTicketPlugin&order=priority)]] (note lack of url=) displays an error message about an undefined global, _usage. And sure enough, _usage is not defined:

(Trac-2.4)> cff '_usage'
--->>> /home/jhammel/Trac-2.4/src/TracRssEmbed/rssembed/macro.py :
60-        largs, kwargs = parse_args(args)
61-
62-        if not kwargs.has_key('url'):
63:            return _usage()
64-        url = kwargs['url']
65-
66-        if kwargs.has_key('details'):

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Simon Smithson

Status: newassigned

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Simon Smithson.

Add Comment


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

 
Note: See TracTickets for help on using tickets.