mirror of
https://github.com/haiwen/seafile.git
synced 2025-01-08 11:57:44 +08:00
upgrade seaf-cli to suport new clone and download rpc
This commit is contained in:
parent
95dee8ca74
commit
1f32ba7e5e
12
app/seaf-cli
12
app/seaf-cli
@ -455,9 +455,6 @@ def seaf_download(args):
|
||||
random_key = tmp.get('random_key', None)
|
||||
|
||||
clone_token = tmp['token']
|
||||
relay_id = tmp['relay_id']
|
||||
relay_addr = tmp['relay_addr']
|
||||
relay_port = str(tmp['relay_port'])
|
||||
email = tmp['email']
|
||||
repo_name = tmp['repo_name']
|
||||
version = tmp.get('repo_version', 0)
|
||||
@ -487,13 +484,10 @@ def seaf_download(args):
|
||||
|
||||
seafile_rpc.download(repo,
|
||||
version,
|
||||
relay_id,
|
||||
repo_name,
|
||||
download_dir,
|
||||
clone_token,
|
||||
repo_passwd, magic,
|
||||
relay_addr,
|
||||
relay_port,
|
||||
email, random_key, enc_version, more_info)
|
||||
|
||||
|
||||
@ -586,9 +580,6 @@ def seaf_sync(args):
|
||||
random_key = tmp.get('random_key', None)
|
||||
|
||||
clone_token = tmp['token']
|
||||
relay_id = tmp['relay_id']
|
||||
relay_addr = tmp['relay_addr']
|
||||
relay_port = str(tmp['relay_port'])
|
||||
email = tmp['email']
|
||||
repo_name = tmp['repo_name']
|
||||
version = tmp.get('repo_version', 0)
|
||||
@ -617,13 +608,10 @@ def seaf_sync(args):
|
||||
|
||||
seafile_rpc.clone(repo,
|
||||
version,
|
||||
relay_id,
|
||||
repo_name,
|
||||
folder,
|
||||
clone_token,
|
||||
repo_passwd, magic,
|
||||
relay_addr,
|
||||
relay_port,
|
||||
email, random_key, enc_version, more_info)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user