diff options
author | Jürg Billeter <j@bitron.ch> | 2019-09-02 12:18:54 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-09-03 11:17:28 +0200 |
commit | 312f7081bb5ec48b8405c0256429c2e153138185 (patch) | |
tree | d11c548c7597d97d597c23244a82bdcaf624701b | |
parent | 5545cb436a70a4b5e2e1f594fa57502a47439a57 (diff) | |
download | buildstream-312f7081bb5ec48b8405c0256429c2e153138185.tar.gz |
_stream.py: Remove disable_fork() calls
The fork safeguard is now handled by Context.is_fork_allowed().
-rw-r--r-- | src/buildstream/_stream.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py index 9ff93fdc3..f0e891dcf 100644 --- a/src/buildstream/_stream.py +++ b/src/buildstream/_stream.py @@ -223,8 +223,6 @@ class Stream(): else: buildtree = True - self._context.disable_fork() - return element._shell(scope, directory, mounts=mounts, isolate=isolate, prompt=prompt, command=command, usebuildtree=buildtree) @@ -551,8 +549,6 @@ class Stream(): self._enqueue_plan(uncached_elts) self._run() - self._context.disable_fork() - # Stage deps into a temporary sandbox first if isinstance(target, ArtifactElement): try: @@ -623,7 +619,6 @@ class Stream(): load_refs=True) if self._artifacts.has_fetch_remotes(): - self._context.disable_fork() self._pipeline.check_remotes(target_objects) # XXX: We need to set the name of an ArtifactElement to its ref in order |