def delete_datastore(self, datastore_name=None):
        try:
            super(CouchDataStore, self).delete_datastore(datastore_name)
        except ResourceNotFound:
            raise NotFound('Datastore %s does not exist' % datastore_name)
        except __HOLE__:
            raise BadRequest("Datastore name %s invalid" % datastore_name)
        except ServerError as se:
            if se.message[1][0] == 'illegal_database_name':
                raise BadRequest("Data store name %s invalid" % datastore_name)
            else:
                raise
dataset/ETHPy150Open ooici/pyon/pyon/datastore/couchdb/base_store.py/CouchDataStore.delete_datastore