ansible: tidy up annoying syntax

This commit is contained in:
David Wilson 2018-04-09 15:06:29 +01:00
parent c14f6c98d1
commit 20de3489de
1 changed files with 1 additions and 2 deletions

View File

@ -104,9 +104,8 @@ def start_fork_parent(econtext):
polluting the global interpreter state in a way that effects explicitly
isolated modules.
"""
mitogen.parent.upgrade_router(econtext)
global _fork_parent
mitogen.parent.upgrade_router(econtext)
_fork_parent = econtext.router.fork()