summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2010-11-01 19:53:50 +0000
committerMark Loeser <halcy0n@gentoo.org>2010-11-01 16:02:36 -0400
commit0c404c11488d2f3ef2f607dbfb1434d58b3a4cfd (patch)
tree046cd12fcbd21e42731b46207daed4835ead57a4
parentAdd the trailing slash to the reportdir so the reports can be written to the ... (diff)
downloadgard-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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index bae332e..f1f8af9 100644
--- a/check.py
+++ b/check.py
@@ -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)