From 99bd29fc52ae439dd4fe91852cd21a1f950384a8 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 21 Mar 2008 23:41:23 +0100 Subject: [PATCH] scan hook works, remove NotImplemented exception Signed-off-by: martin f. krafft --- plugins/pythondemo | 4 ---- 1 file changed, 4 deletions(-) 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): -- 2.39.5