Modify

Opened 5 years ago

Last modified 5 years ago

#5944 assigned defect

undefined global, _usage

Reported by: k0s Owned by: smithsos
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 5 years ago by smithsos

  • Status changed from new to assigned

Add Comment

Modify Ticket

Action
as assigned The owner will remain smithsos.
Author


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

 
Note: See TracTickets for help on using tickets.