scan hook works, remove NotImplemented exception

Signed-off-by: martin f. krafft <madduck@madduck.net>
master
martin f. krafft 2008-03-21 23:41:23 +01:00 committed by Joey Hess
parent 616fcc8aef
commit 99bd29fc52
1 changed files with 0 additions and 4 deletions

View File

@ -148,10 +148,6 @@ def scan_demo(proxy, *args):
links = proxy.getvar('links', kwargs['page']) links = proxy.getvar('links', kwargs['page'])
debug("links for page `%s' are: %s" % (kwargs['page'], links)) debug("links for page `%s' are: %s" % (kwargs['page'], links))
proxy.setvar('links', 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) proxy.hook('scan', scan_demo)
def htmlize_demo(proxy, *args): def htmlize_demo(proxy, *args):