Commit 8170c8af authored by Nicolas Delaby's avatar Nicolas Delaby

Remove empty spaces

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29457 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2eca44dd
...@@ -62,7 +62,7 @@ class RamCache(BaseCache): ...@@ -62,7 +62,7 @@ class RamCache(BaseCache):
def __init__(self, params={}): def __init__(self, params={}):
self._cache_dict = {} self._cache_dict = {}
BaseCache.__init__(self) BaseCache.__init__(self)
def initCacheStorage(self): def initCacheStorage(self):
""" Init cache storage """ """ Init cache storage """
## cache storage is a RAM based dictionary ## cache storage is a RAM based dictionary
...@@ -92,7 +92,7 @@ class RamCache(BaseCache): ...@@ -92,7 +92,7 @@ class RamCache(BaseCache):
if forceCheck or (now > self._next_cache_expire_check_at): if forceCheck or (now > self._next_cache_expire_check_at):
## time to check for expired cache items ## time to check for expired cache items
self._next_cache_expire_check_at = now + self.cache_expire_check_interval self._next_cache_expire_check_at = now + self.cache_expire_check_interval
cache = self.getCacheStorage() cache = self.getCacheStorage()
for key, value in cache.items(): for key, value in cache.items():
if value.isExpired(): if value.isExpired():
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment