Archived
1
0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/controller/test/Stub_cache.py
Dan Helfman 21ccc97826 Now using memcached in various places to improve performance. If the Python
cmemcache module is not importable, then memcached simply won't be used.
2008-03-05 00:34:58 +00:00

10 lines
204 B
Python

class Stub_cache( object ):
def __init__( self ):
self.__objects = {}
def get( self, key ):
return self.__objects.get( key )
def set( self, key, value ):
self.__objects[ key ] = value