aboutsummaryrefslogtreecommitdiff
path: root/plugins/proxy.py
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-15 15:42:52 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-15 15:42:52 -0400
commit646392f3672094b90dec02eff1b0d4ac4ebb0742 (patch)
tree5fb718eb1e31610bbd11e26495af508f260ca46d /plugins/proxy.py
parent06fb2357e446541618cef8beadd2ab659f6c22ca (diff)
downloadikiwiki-646392f3672094b90dec02eff1b0d4ac4ebb0742.tar
ikiwiki-646392f3672094b90dec02eff1b0d4ac4ebb0742.tar.gz
rename register_hook to just hook, for consistency with the perl
Diffstat (limited to 'plugins/proxy.py')
-rw-r--r--plugins/proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/proxy.py b/plugins/proxy.py
index 55c552ab2..582010c9a 100644
--- a/plugins/proxy.py
+++ b/plugins/proxy.py
@@ -151,7 +151,7 @@ class IkiWikiProcedureProxy(object):
self._xmlrpc_handler = _IkiWikiExtPluginXMLRPCHandler(self._debug_fn)
self._xmlrpc_handler.register_function(self._importme, name='import')
- def register_hook(self, type, function):
+ def hook(self, type, function):
self._hooks.append((type, function.__name__))
self._xmlrpc_handler.register_function(function)