Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/plugins/whatsnew.py
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2005-07-16 17:35:22 +0200
committerArthur de Jong <arthur@arthurdejong.org>2005-07-16 17:35:22 +0200
commite04f72bdd8076cdfeb90b1cb3aba7a2f34c316b2 (patch)
treeb7b03f7f8674ad34adfa67536d26039c7ab697c8 /plugins/whatsnew.py
parent0ab4d6e64acaa3ff22946f54835f6191f6648695 (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/whatsnew.py')
-rw-r--r--plugins/whatsnew.py4
1 files changed, 2 insertions, 2 deletions
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' \
' <div class="status">age: %(age)d days</div>\n' \
' </li>\n' \
- % { 'link': rptlib.make_link(link.URL),
+ % { 'link': plugins.make_link(link.URL),
'age': age })
fp.write(' </ul>\n')