From 20de3489de1ce25bad97432c63b31467d09f1495 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 9 Apr 2018 15:06:29 +0100 Subject: [PATCH] ansible: tidy up annoying syntax --- ansible_mitogen/target.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansible_mitogen/target.py b/ansible_mitogen/target.py index 268bdd51..20086cec 100644 --- a/ansible_mitogen/target.py +++ b/ansible_mitogen/target.py @@ -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()