You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/02/22 08:38:18 UTC

[buildstream] branch master updated: sandbox.py: Fixed missing return statement after removing SandboxFlags

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/buildstream.git


The following commit(s) were added to refs/heads/master by this push:
     new 943397a  sandbox.py: Fixed missing return statement after removing SandboxFlags
943397a is described below

commit 943397a713b53a407c7a70a9a2091126d298789d
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Tue Feb 22 17:37:36 2022 +0900

    sandbox.py: Fixed missing return statement after removing SandboxFlags
    
    Thankyou mypy...
---
 src/buildstream/sandbox/sandbox.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/buildstream/sandbox/sandbox.py b/src/buildstream/sandbox/sandbox.py
index 3d39511..707951d 100644
--- a/src/buildstream/sandbox/sandbox.py
+++ b/src/buildstream/sandbox/sandbox.py
@@ -197,7 +197,7 @@ class Sandbox:
         else:
             flags = _SandboxFlags.NONE
 
-        self._run_with_flags(command, flags=flags, cwd=cwd, env=env, label=label)
+        return self._run_with_flags(command, flags=flags, cwd=cwd, env=env, label=label)
 
     @contextmanager
     def batch(