mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 07:17:17 +00:00
do not print upload progress
This commit is contained in:
parent
47bb22b1f4
commit
2c7ef3471e
@ -43,15 +43,6 @@ class Rsync(Uploader):
|
|||||||
sync data to remote server
|
sync data to remote server
|
||||||
:param path: local path to sync
|
:param path: local path to sync
|
||||||
'''
|
'''
|
||||||
check_output(
|
check_output('rsync', '--archive', '--verbose', '--compress', '--partial', '--delete', path, self.remote,
|
||||||
'rsync',
|
exception=None,
|
||||||
'--archive',
|
logger=self.logger)
|
||||||
'--verbose',
|
|
||||||
'--compress',
|
|
||||||
'--partial',
|
|
||||||
'--progress',
|
|
||||||
'--delete',
|
|
||||||
path,
|
|
||||||
self.remote,
|
|
||||||
exception=None,
|
|
||||||
logger=self.logger)
|
|
||||||
|
@ -44,6 +44,6 @@ class S3(Uploader):
|
|||||||
:param path: local path to sync
|
:param path: local path to sync
|
||||||
'''
|
'''
|
||||||
# TODO rewrite to boto, but it is bullshit
|
# TODO rewrite to boto, but it is bullshit
|
||||||
check_output('aws', 's3', 'sync', '--delete', path, self.bucket,
|
check_output('aws', 's3', 'sync', '--quiet', '--delete', path, self.bucket,
|
||||||
exception=None,
|
exception=None,
|
||||||
logger=self.logger)
|
logger=self.logger)
|
||||||
|
Loading…
Reference in New Issue
Block a user