From: martin f. krafft Date: Fri, 21 Mar 2008 22:41:23 +0000 (+0100) Subject: scan hook works, remove NotImplemented exception X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/99bd29fc52ae439dd4fe91852cd21a1f950384a8?hp=616fcc8aefddde9e239523b3f979eb3a19a8f01f scan hook works, remove NotImplemented exception Signed-off-by: martin f. krafft --- diff --git a/plugins/pythondemo b/plugins/pythondemo index 1edbb819e..c63ce3973 100755 --- a/plugins/pythondemo +++ b/plugins/pythondemo @@ -148,10 +148,6 @@ def scan_demo(proxy, *args): links = proxy.getvar('links', kwargs['page']) debug("links for page `%s' are: %s" % (kwargs['page'], links)) proxy.setvar('links', kwargs['page'], links) - # TODO: this yields "Can't use string ("1") as an ARRAY ref while "strict - # refs" in use at /home/madduck/code/ikiwiki/IkiWiki/Render.pm line 17, - # line 476." - raise NotImplementedError proxy.hook('scan', scan_demo) def htmlize_demo(proxy, *args):