Modify ↓
      
        Opened 16 years ago
Last modified 16 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)
Note: See
        TracTickets for help on using
        tickets.
    

