X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/616fcc8aefddde9e239523b3f979eb3a19a8f01f..563428ebd2a75cfabccf1974da0c1cbbe07eb369:/plugins/pythondemo diff --git a/plugins/pythondemo b/plugins/pythondemo index 1edbb819e..911f4d7d9 100755 --- a/plugins/pythondemo +++ b/plugins/pythondemo @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- # # pythondemo — demo Python ikiwiki plugin @@ -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):