summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.co.uk>2019-08-22 15:25:43 +0100
committerJames Ennis <james.ennis@codethink.co.uk>2019-08-27 15:21:34 +0100
commit6c7a2eeec7b648870ffb8384a794208b05661c9a (patch)
tree2b2a6a90731f4684c510f5c84835c2968322863e
parentabbcc263563d6c3bd7b76f815576bf6f2da96707 (diff)
downloadbuildstream-6c7a2eeec7b648870ffb8384a794208b05661c9a.tar.gz
casremote.py: Remove main process assertion in init()
Seeing as we always call get_local_cas() in CasRemote.init() this assertion will be asserted there
-rw-r--r--src/buildstream/_cas/casremote.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/buildstream/_cas/casremote.py b/src/buildstream/_cas/casremote.py
index ab26d32c7..183429a77 100644
--- a/src/buildstream/_cas/casremote.py
+++ b/src/buildstream/_cas/casremote.py
@@ -91,9 +91,6 @@ class CASRemote():
def init(self):
if not self._initialized:
- # gRPC doesn't support fork without exec, which is used in the main process.
- assert not utils._is_main_process()
-
server_cert_bytes = None
client_key_bytes = None
client_cert_bytes = None