From 646392f3672094b90dec02eff1b0d4ac4ebb0742 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 15 Mar 2008 15:42:52 -0400 Subject: rename register_hook to just hook, for consistency with the perl --- plugins/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/proxy.py') 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) -- cgit v1.2.3