Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/plugins/whatsold.py
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2005-04-07 22:05:37 +0200
committerArthur de Jong <arthur@arthurdejong.org>2005-04-07 22:05:37 +0200
commit69d183363cab127659591fa49a335ab91205f0e9 (patch)
tree3ccc41069f91a1eb447dea457ed012da5e976240 /plugins/whatsold.py
parentc3bee4829c653b29984e7e2bea9945fd0e843367 (diff)
tabs to spaces (tabs are evil)
git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@12 86f53f14-5ff3-0310-afe5-9b438ce3f40c
Diffstat (limited to 'plugins/whatsold.py')
-rw-r--r--plugins/whatsold.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/whatsold.py b/plugins/whatsold.py
index 51d1ad2..d5bf149 100644
--- a/plugins/whatsold.py
+++ b/plugins/whatsold.py
@@ -38,13 +38,13 @@ def generate():
urls = linkList.keys()
urls.sort(sort_by_rev_age)
for url in urls:
- link=linkList[url]
- if not link.html: continue
- age = link.age
- if age and (age >= config.REPORT_WHATSOLD_URL_AGE):
- print '\t<tr><td>%s</td>' % make_link(url,get_title(url)),
- print '<td>%s</td>' % (link.author),
- print '<td class="time">%s</td></tr>' % age
- add_problem('Old Link: %s days old' % age ,link)
+ link=linkList[url]
+ if not link.html: continue
+ age = link.age
+ if age and (age >= config.REPORT_WHATSOLD_URL_AGE):
+ print '\t<tr><td>%s</td>' % make_link(url,get_title(url)),
+ print '<td>%s</td>' % (link.author),
+ print '<td class="time">%s</td></tr>' % age
+ add_problem('Old Link: %s days old' % age ,link)
print '</table>'
print '</div>'