[web2py] Re: Minor bug and fix in cache.py

2010-09-30 Thread mdipierro
At a second look I do not see the difference. Moreover this would not work with 2.4 On Sep 30, 11:29 am, Iceberg wrote: > Hi Massimo, > > The following code snippet comes from the end of gluon/cache.py 's > CacheInRam.__call__(): > >         value = f() >         self.locker.acquire() >         s

[web2py] Re: Minor bug and fix in cache.py

2010-09-30 Thread mdipierro
thanks. Will post it tonight. On Sep 30, 11:29 am, Iceberg wrote: > Hi Massimo, > > The following code snippet comes from the end of gluon/cache.py 's > CacheInRam.__call__(): > >         value = f() >         self.locker.acquire() >         self.storage[key] = (time.time(), value) >         self