Opened 16 years ago
Last modified 7 years ago
#3734 closed enhancement
diff for making flashviewplugin work in 0.11 — at Initial Version
Reported by: | Owned by: | yuanying | |
---|---|---|---|
Priority: | normal | Component: | FlashViewPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
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
Note: See
TracTickets for help on using
tickets.
Better to put the diff in a file :-)