1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-01 15:36:37 +00:00

Fix wrong comment.

This commit is contained in:
cuihaikuo
2017-10-31 14:41:29 +08:00
parent 1ed203814e
commit 5f2201f69e

View File

@@ -383,7 +383,7 @@ class SeafileAPI(object):
def get_shared_repo_by_path(self, repo_id, path, shared_to, is_org=False):
"""
If path is not NULL, 'repo_id' represents for the repo we want,
If path is NULL, 'repo_id' represents for the repo we want,
otherwise, 'repo_id' represents for the origin repo, return virtual repo
"""
return seafserv_threaded_rpc.get_shared_repo_by_path(repo_id, path, shared_to, 1 if is_org else 0)
@@ -439,7 +439,7 @@ class SeafileAPI(object):
def get_group_shared_repo_by_path (self, repo_id, path, group_id, is_org=False):
"""
If path is not NULL, 'repo_id' represents for the repo we want,
If path is NULL, 'repo_id' represents for the repo we want,
otherwise, 'repo_id' represents for the origin repo, return virtual repo
"""
return seafserv_threaded_rpc.get_group_shared_repo_by_path(repo_id, path, group_id, 1 if is_org else 0)