From 33e3528cd9d758bd301ecabbb4b2d7bd43334881 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 21 Mar 2008 19:12:14 +0100 Subject: Make proxy object available to hook functions Hook functions now get the proxy object as first argument to be able to use RPC via the proxy. Signed-off-by: martin f. krafft --- plugins/rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/rst') diff --git a/plugins/rst b/plugins/rst index 9e0fb2548..350b76dfa 100755 --- a/plugins/rst +++ b/plugins/rst @@ -18,7 +18,7 @@ __licence__ = 'GPLv2' from docutils.core import publish_parts; from proxy import IkiWikiProcedureProxy -def rst2html(*kwargs): +def rst2html(proxy, *kwargs): # FIXME arguments should be treated as a hash, the order could change # at any time and break this. parts = publish_parts(kwargs[3], writer_name='html', -- cgit v1.2.3