Source

heechee / heechee / webdav / caching / noop.py

Full commit

class NoopCache(object):
    
    """
    Simple noop cache - doesn't actually store any keys, and insists nothing
    actually exists.
    """
    
    def __getitem__(self, key):
        raise KeyError("Key %r not found (noop)" % key)
    
    def __setitem__(self, key, value):
        return