Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/schemes/http.py
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2005-07-10 14:26:31 +0200
committerArthur de Jong <arthur@arthurdejong.org>2005-07-10 14:26:31 +0200
commite6d156486c4117acf2ddc7cd3fcf6a0caef0cbd1 (patch)
tree3a4eae63dea76c1ae3891d055be72443908894f1 /schemes/http.py
parent9fec7ceb9d32d5090557a58cf14489bfd067d887 (diff)
store mtime in link object instead of age in days
git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@60 86f53f14-5ff3-0310-afe5-9b438ce3f40c
Diffstat (limited to 'schemes/http.py')
-rw-r--r--schemes/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/schemes/http.py b/schemes/http.py
index bda95f5..c87b361 100644
--- a/schemes/http.py
+++ b/schemes/http.py
@@ -117,7 +117,7 @@ def init(link, url, parent):
except (OverflowError, TypeError, ValueError):
lastMod = None
if lastMod:
- link.age = int((time.time()-lastMod)/myUrlLib.SECS_PER_DAY)
+ link.mtime = lastMod
def get_document(url):
document = opener.open(url).read()