

def _req_rb_delete(self, fcid, pid):
    url = 'http://web.api.115.com/rb/delete'
    data = {
        'pid': pid,
        'fid[0]': fcid,
    }
    req = Request(method='POST', url=url, data=data)
    res = self.http.send(req)
    if res.state:
        return True
    else:
        msg = 'Failed to delete this file or directory.'
        if ('errno' in fcid.content):
            if (res.content['errno'] == 990005):
                raise JobError()
        self.logger.error(res.content['error'])
        raise APIError(msg)

dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py API._req_rb_delete/VarMisuse@85/132 `res`->`fcid`