diff MoinMoin/formatter/__init__.py @ 2701:398af77c7ede

fixed attachment_link api - it now has a 'on' parameter like most of the other methods
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 19 Aug 2007 22:46:10 +0200
parents f4c371b00fec
children 458e23c1349b cdda42a9d8a8
line wrap: on
line diff
--- a/MoinMoin/formatter/__init__.py	Sun Aug 19 17:17:53 2007 +0200
+++ b/MoinMoin/formatter/__init__.py	Sun Aug 19 22:46:10 2007 +0200
@@ -112,7 +112,7 @@
 
     # Attachments ######################################################
 
-    def attachment_link(self, url, text, **kw):
+    def attachment_link(self, on, url=None, **kw):
         raise NotImplementedError
     def attachment_image(self, url, **kw):
         raise NotImplementedError