diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-04-14 16:51:25 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-04-15 13:28:33 +0000 |
commit | b9075de5c675a29b3d2447c2b9a38bcca2a86882 (patch) | |
tree | 3f82788a404e5aa44001285341a43cf7c3addfc8 | |
parent | ff5ef6c7583f88d8f7bb6062605455c0f3ecdf53 (diff) | |
download | lorry-b9075de5c675a29b3d2447c2b9a38bcca2a86882.tar.gz |
Disable bzr certificate checking
-rwxr-xr-x | lorry | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -354,12 +354,15 @@ class Lorry(cliapp.Application): branchdir = os.path.join(bzrdir, branch) if not os.path.exists(branchdir): self.progress('.. doing initial bzr branch') - self.run_program(['bzr', 'branch', '--quiet', address, - branchdir]) + self.run_program( + ['bzr', 'branch', '--quiet', '-Ossl.cert_reqs=none', + address, branchdir]) else: self.progress('.. updating bzr branch') - self.run_program(['bzr', 'pull', '--quiet', address], - cwd=branchdir) + self.run_program( + ['bzr', 'pull', '--quiet', '-Ossl.cert_reqs=none', + address], + cwd=branchdir) exports = {} bzrmarks = os.path.join(gitdir, 'marks.bzr') |