Source

trac-ticketlinks / sample-plugins / HelloWorld.py

Diff from to

File sample-plugins/HelloWorld.py

 """Example macro."""
 
+revision = "$Rev$"
+url = "$URL$"
+
 #
 # The following shows the code for macro, old-style.
 #
     the !MacroList macro (usually used in the TracWikiMacros page).
     """
 
-    revision = "$Rev$"
-    url = "$URL$"
-
     def expand_macro(self, formatter, name, args):
         """Return some output that will be displayed in the Wiki content.