mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-07-01 08:05:48 +00:00
do not print upload progress
This commit is contained in:
@ -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',
|
|
||||||
'--archive',
|
|
||||||
'--verbose',
|
|
||||||
'--compress',
|
|
||||||
'--partial',
|
|
||||||
'--progress',
|
|
||||||
'--delete',
|
|
||||||
path,
|
|
||||||
self.remote,
|
|
||||||
exception=None,
|
exception=None,
|
||||||
logger=self.logger)
|
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)
|
||||||
|
Reference in New Issue
Block a user