1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

Changed rpc name

This commit is contained in:
zhengxie
2012-12-24 16:53:32 +08:00
parent 6c4cf35110
commit 05c8280e40
4 changed files with 10 additions and 15 deletions

View File

@@ -558,7 +558,7 @@ class RepoFilePathView(ResponseMixin, View):
file_id = None
try:
file_id = seafserv_threaded_rpc.get_file_by_path(repo_id,
file_id = seafserv_threaded_rpc.get_file_id_by_path(repo_id,
path.encode('utf-8'))
except SearpcError, e:
return api_error(request, '412', "SearpcError:" + e.msg)