Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/t/i/TileStache-HEAD/TileStache/Memcache.py   TileStache(Download)
 
        finally:
            mem.disconnect_all()
 
    def unlock(self, layer, coord, format):
 
        mem.delete(key+'-lock')
        mem.disconnect_all()
 
    def remove(self, layer, coord, format):
 
        mem.delete(key)
        mem.disconnect_all()
 
    def read(self, layer, coord, format):
 
        value = mem.get(key)
        mem.disconnect_all()
 
        return value
 
        mem.set(key, body, layer.cache_lifespan or 0)
        mem.disconnect_all()
 

src/h/i/hiverunner-1.0.1/hiverunner/__init__.py   hiverunner(Download)
        mc = memcache.Client([address], debug=0)
        mc.set(name, data)
        mc.disconnect_all()
    except Exception as e:
        logging.error("Failed to push results for '%s'" % (name))