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/rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/rst') diff --git a/plugins/rst b/plugins/rst index febc14e97..9e0fb2548 100755 --- a/plugins/rst +++ b/plugins/rst @@ -34,5 +34,5 @@ def debug(s): sys.stderr.flush() proxy = IkiWikiProcedureProxy(__name__, debug_fn=None) -proxy.register_hook('htmlize', rst2html) +proxy.hook('htmlize', rst2html) proxy.run() -- cgit v1.2.3