summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-04-14 16:51:25 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-04-15 13:28:33 +0000
commitb9075de5c675a29b3d2447c2b9a38bcca2a86882 (patch)
tree3f82788a404e5aa44001285341a43cf7c3addfc8
parentff5ef6c7583f88d8f7bb6062605455c0f3ecdf53 (diff)
downloadlorry-b9075de5c675a29b3d2447c2b9a38bcca2a86882.tar.gz
Disable bzr certificate checking
-rwxr-xr-xlorry11
1 files changed, 7 insertions, 4 deletions
diff --git a/lorry b/lorry
index d16abfc..b3e954c 100755
--- a/lorry
+++ b/lorry
@@ -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')