aboutsummaryrefslogtreecommitdiff
path: root/plugins/rst
diff options
context:
space:
mode:
authormartin f. krafft <madduck@madduck.net>2008-03-21 19:12:14 +0100
committerJoey Hess <joey@kodama.kitenet.net>2008-03-21 15:07:10 -0400
commit33e3528cd9d758bd301ecabbb4b2d7bd43334881 (patch)
tree3ba745e272f32ae3d4eb2c94e38914bdc3502662 /plugins/rst
parent5184b8abfce9f2e6c899f8f00e0ac3341161a1b2 (diff)
downloadikiwiki-33e3528cd9d758bd301ecabbb4b2d7bd43334881.tar
ikiwiki-33e3528cd9d758bd301ecabbb4b2d7bd43334881.tar.gz
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 <madduck@madduck.net>
Diffstat (limited to 'plugins/rst')
-rwxr-xr-xplugins/rst2
1 files changed, 1 insertions, 1 deletions
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',