This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch aevri/win32_minimal in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit f955634ff62a04c1cecaf14cfdc7b85ec6ad8186 Author: Angelos Evripiotis <[email protected]> AuthorDate: Tue Oct 8 09:59:18 2019 +0100 _signals.terminator: "outermost" -> "is_outermost" --- src/buildstream/_signals.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/buildstream/_signals.py b/src/buildstream/_signals.py index ec598fc..a7f32d6 100644 --- a/src/buildstream/_signals.py +++ b/src/buildstream/_signals.py @@ -86,16 +86,16 @@ def terminator(terminate_func): yield return - outermost = bool(not terminator_stack) + is_outermost = bool(not terminator_stack) terminator_stack.append(terminate_func) - if outermost: + if is_outermost: original_handler = signal.signal(signal.SIGTERM, terminator_handler) try: yield finally: - if outermost: + if is_outermost: signal.signal(signal.SIGTERM, original_handler) terminator_stack.pop()
