Modify

Opened 6 years ago

Last modified 6 years ago

#3734 new enhancement

diff for making flashviewplugin work in 0.11

Reported by: enno.rehling@… Owned by: yuanying
Priority: normal Component: FlashViewPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by otaku42)

The following diff makes the plugin work in 0.11:

8a9
> from trac.wiki.macros import WikiMacroBase
50c51
< class FlashViewMacro(Component):
---
> class FlashViewMacro(WikiMacroBase):
62c63,64
<     def render_macro(self, req, name, content):
---
>     def expand_macro(self, formatter, name, args):
>         #was:  render_macro(self, req, name, content):
66c68
<         args = content.split(',')
---
>         req = formatter.req

Attachments (1)

flashviewplugin.diff (397 bytes) - added by enno.rheling@… 6 years ago.
Better to put the diff in a file :-)

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by enno.rheling@…

Better to put the diff in a file :-)

comment:1 Changed 6 years ago by anonymous

The file cannot be downloaded.
Can you attach the file again?

comment:2 Changed 6 years ago by otaku42

  • Description modified (diff)

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.