[Debtags-commits] [svn] r2229 - cgi-bin
Erich Schubert
erich at alioth.debian.org
Wed Jan 3 19:54:34 CET 2007
Author: erich
Date: Wed Jan 3 19:54:34 2007
New Revision: 2229
Modified:
cgi-bin/rdf
Log:
fix rdf caching
Modified: cgi-bin/rdf
==============================================================================
--- cgi-bin/rdf (original)
+++ cgi-bin/rdf Wed Jan 3 19:54:34 2007
@@ -18,8 +18,7 @@
result = None
-cachestat = os.stat(cachefile)
-if cachestat.st_mtime + cache_expiry < time.time():
+if os.stat(cachefile).st_mtime - cache_expiry < time.time():
f = file(cachefile,"r")
result = f.readlines()
f.close()
More information about the Debtags-commits
mailing list