You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:31:10 UTC
[buildstream] 16/19: fixup! fixup! fixup! Move subprocess machinery
into a method
This is an automated email from the ASF dual-hosted git repository.
not-in-ldap pushed a commit to branch phil/ui-split-refactor
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 9b491a9e2f7ac60da0e0257841f44545475a194c
Author: Phil Dawson <ph...@codethink.co.uk>
AuthorDate: Fri Jul 5 15:51:54 2019 +0100
fixup! fixup! fixup! Move subprocess machinery into a method
---
src/buildstream/_stream.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py
index ed83747..89d6539 100644
--- a/src/buildstream/_stream.py
+++ b/src/buildstream/_stream.py
@@ -114,9 +114,7 @@ class Stream():
global notification_count
notification_count = 0
- # TODO use functools to pass arguments to func to make target for subprocess
- # Start subprocessed work
mp_context = mp.get_context(method='fork')
process_name = "stream-{}".format(func.__name__)
print("launchinglaunching subprocess:", process_name)