def check_source (tree, filename):
req = {'api': 'check_source'}
req.update ({'tree': tree})
req.update ({'name': filename})
resp, content = r.post (controller, json.dumps (req, default=json_util.default), "pathdump")
return json.loads (content, object_hook=json_util.object_hook)
评论列表
文章目录