From e04f72bdd8076cdfeb90b1cb3aba7a2f34c316b2 Mon Sep 17 00:00:00 2001 From: Arthur de Jong <arthur@arthurdejong.org> Date: Sat, 16 Jul 2005 15:35:22 +0000 Subject: move functionality of rptlib.py to __init__.py so that we can just use the plugins package git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@64 86f53f14-5ff3-0310-afe5-9b438ce3f40c --- plugins/urllist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/urllist.py') diff --git a/plugins/urllist.py b/plugins/urllist.py index 5b49cf0..45f9ac6 100644 --- a/plugins/urllist.py +++ b/plugins/urllist.py @@ -26,7 +26,7 @@ __description__ = 'This is the list of all urls encountered during the ' \ 'examination of the website. It lists internal as well ' \ 'as external and non-examined urls.' -import rptlib +import plugins def generate(fp,site): """Output a sorted list of urls to the specified file descriptor.""" @@ -34,5 +34,5 @@ def generate(fp,site): links=site.linkMap.values() links.sort(lambda a, b: cmp(a.URL, b.URL)) for link in links: - fp.write(' <li>'+rptlib.make_link(link.URL,link.URL)+'</li>\n') + fp.write(' <li>'+plugins.make_link(link.URL,link.URL)+'</li>\n') fp.write(' </ol>\n') -- cgit v1.2.3