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
71168bcac0
commit
ca0b056a03
12
app/seaf-cli
12
app/seaf-cli
@ -462,9 +462,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)
|
||||
@ -494,13 +491,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)
|
||||
|
||||
|
||||
@ -593,9 +587,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)
|
||||
@ -624,13 +615,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