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

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

commit c2a5141a78284b6c522f0aa9fb0dd84f635f1f1a
Author: Angelos Evripiotis <[email protected]>
AuthorDate: Tue Oct 29 13:38:22 2019 +0000

    WIP: _fuse/mount: make _run_fuse protected, so subprocess can load
---
 src/buildstream/_fuse/mount.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/buildstream/_fuse/mount.py b/src/buildstream/_fuse/mount.py
index 9141cdd..ce08512 100644
--- a/src/buildstream/_fuse/mount.py
+++ b/src/buildstream/_fuse/mount.py
@@ -104,7 +104,7 @@ class Mount():
 
         self.__mountpoint = mountpoint
 
-        self.__process = Process(target=self.__run_fuse, 
args=(self.__logfile.name,))
+        self.__process = Process(target=self._run_fuse, 
args=(self.__logfile.name,))
 
         # Ensure the child process does not inherit our signal handlers, if the
         # child wants to handle a signal then it will first set its own
@@ -188,7 +188,7 @@ class Mount():
     ################################################
     #                Child Process                 #
     ################################################
-    def __run_fuse(self, filename):
+    def _run_fuse(self, filename):
         # Override stdout/stderr to the file given as a pointer, that way our 
parent process can get our output
         out = open(filename, "w")
         os.dup2(out.fileno(), sys.stdout.fileno())

Reply via email to