From 0c404c11488d2f3ef2f607dbfb1434d58b3a4cfd Mon Sep 17 00:00:00 2001 From: Jeremy Olexa Date: Mon, 1 Nov 2010 19:53:50 +0000 Subject: 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. --- check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-65-gdbad