[Debtags-commits] [svn] r2113 - cgi-bin
Erich Schubert
erich at alioth.debian.org
Sun Nov 19 17:54:15 CET 2006
Author: erich
Date: Sun Nov 19 17:54:15 2006
New Revision: 2113
Modified:
cgi-bin/erich
Log:
fix cache timeout
Modified: cgi-bin/erich
==============================================================================
--- cgi-bin/erich (original)
+++ cgi-bin/erich Sun Nov 19 17:54:15 2006
@@ -25,7 +25,7 @@
if db.has_key(key):
(stored,timestamp) = cPickle.loads(db[key])
- if timestamp + cache_expiry > time.time():
+ if timestamp + cache_expiry < time.time():
del db[key]
else:
result = stored
More information about the Debtags-commits
mailing list