def _getFakeMemcacheProtocol(self): result = super(MemcacheLock, self)._getMemcacheProtocol() if isinstance(result, Memcacher.nullCacher): result = self._memcacheProtocol = Memcacher.memoryCacher() return result