diff options
author | 2010-11-01 19:53:50 +0000 | |
---|---|---|
committer | 2010-11-01 16:02:36 -0400 | |
commit | 0c404c11488d2f3ef2f607dbfb1434d58b3a4cfd (patch) | |
tree | 046cd12fcbd21e42731b46207daed4835ead57a4 | |
parent | Add the trailing slash to the reportdir so the reports can be written to the ... (diff) | |
download | gard-0c404c11488d2f3ef2f607dbfb1434d58b3a4cfd.tar.gz gard-0c404c11488d2f3ef2f607dbfb1434d58b3a4cfd.tar.bz2 gard-0c404c11488d2f3ef2f607dbfb1434d58b3a4cfd.zip |
check.py: Add compress (-z) to rsync args
sys-apps/portage uses compression by default. If the third party admin
sets refuse on compression from the client then an error is returned. It
is useful to check for this during the testing period.
-rw-r--r-- | check.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ class GardCheck: # and takes path relative to this) def get_file_rsync(self, path, dir='.'): target = self._rsync_url_to_cmd(self.url, path) - retcode = subprocess.call(['rsync', '-aqP', '--no-motd', + retcode = subprocess.call(['rsync', '-aqPz', '--no-motd', '--contimeout=30', target, dir]) if retcode > 0: logging.error('rsync returned %d during gentoo-portage check' % retcode) |