From 1cf9fdc5c4f265c779cea2fac317499ae3a46b1a Mon Sep 17 00:00:00 2001 From: Mikhail Gordeev Date: Mon, 9 Sep 2019 20:43:35 +0300 Subject: [PATCH] Do not check signed checksum before sync If somebody disables sign, he wants this --- cloud-build.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/cloud-build.py b/cloud-build.py index 814d202..139d5eb 100755 --- a/cloud-build.py +++ b/cloud-build.py @@ -540,11 +540,8 @@ Dir::Etc::preferencesparts "/var/empty"; for branch in self.branches: remote = self.remote(branch) files = glob.glob(f'{self.images_dir}/{branch}/*') - if f'self.checksum_command.upper().asc' not in files: - self.error(f'No checksum signature in branch {branch}') - else: - cmd = ['rsync', '-v'] + files + [remote] - self.call(cmd) + cmd = ['rsync', '-v'] + files + [remote] + self.call(cmd) self.kick()