From e04f72bdd8076cdfeb90b1cb3aba7a2f34c316b2 Mon Sep 17 00:00:00 2001 From: Arthur de Jong 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/whatsnew.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/whatsnew.py') diff --git a/plugins/whatsnew.py b/plugins/whatsnew.py index 549c1c2..4b04414 100644 --- a/plugins/whatsnew.py +++ b/plugins/whatsnew.py @@ -27,7 +27,7 @@ __version__ = '1.1' __description__ = 'These pages habe been recently modified.' import config -import rptlib +import plugins import time SECS_PER_DAY=60*60*24 @@ -49,6 +49,6 @@ def generate(fp,site): ' %(link)s\n' \ '
age: %(age)d days
\n' \ ' \n' \ - % { 'link': rptlib.make_link(link.URL), + % { 'link': plugins.make_link(link.URL), 'age': age }) fp.write(' \n') -- cgit v1.2.3