def delete(self, path, version=-1):
        if type(path) is list:
            map(lambda el: self.delete(el, version), path)
            return

        url = '%s/znodes/v1%s?%s' % (self._base, path, \
            urllib.urlencode({
                'version':version
        }))
        try:
            return self._do_delete(url)
        except urllib2.HTTPError, e:
            if e.code == 412:
                raise ZooKeeper.WrongVersion(path)
            elif e.code == 404:
                raise ZooKeeper.NotFound(path)
            raise
Create the requested resource locally or in a child zone
dataset/ETHPy150Open francelabs/datafari/debian7/zookeeper/src/contrib/huebrowser/zkui/src/zkui/rest.py/ZooKeeper.delete--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/scheduler/abstract_scheduler.py/AbstractScheduler._provision_resource_from_blob