diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2005-07-16 17:35:22 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2005-07-16 17:35:22 +0200 |
commit | e04f72bdd8076cdfeb90b1cb3aba7a2f34c316b2 (patch) | |
tree | b7b03f7f8674ad34adfa67536d26039c7ab697c8 /plugins/urllist.py | |
parent | 0ab4d6e64acaa3ff22946f54835f6191f6648695 (diff) |
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
Diffstat (limited to 'plugins/urllist.py')
-rw-r--r-- | plugins/urllist.py | 4 |
1 files changed, 2 insertions, 2 deletions
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') |