Changeset 147 for pykoticon/trunk/bin/pykoticon
- Timestamp:
- 06/08/06 00:10:22 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykoticon/trunk/bin/pykoticon
r146 r147 118 118 (birth, value) = cacheentry 119 119 if (time.time() - birth) < self.cacheduration : 120 self.logDebug("Cache hit for %s ---> %s" % (str(key), value))120 self.logDebug("Cache hit for %s" % str(key)) 121 121 return value # NB : we don't extend the life of this entry 122 122 else : … … 129 129 """Stores an entry in the cache.""" 130 130 self.cache[key] = (time.time(), value) 131 self.logDebug("Cache store for %s ---> %s" % (str(key), value))131 self.logDebug("Cache store for %s" % str(key)) 132 132 133 133 def export_askDatas(self, labels, varnames, varvalues) :