]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
scan hook works, remove NotImplemented exception
authormartin f. krafft <madduck@madduck.net>
Fri, 21 Mar 2008 22:41:23 +0000 (23:41 +0100)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 21 Mar 2008 23:17:00 +0000 (19:17 -0400)
Signed-off-by: martin f. krafft <madduck@madduck.net>
plugins/pythondemo

index 1edbb819e02615f0022de164a518ddb8d0e28c04..c63ce39734ec240a20c95c9d019842184985d06a 100755 (executable)
@@ -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,
-    # <GEN1> line 476."
-    raise NotImplementedError
 proxy.hook('scan', scan_demo)
 
 def htmlize_demo(proxy, *args):