From cf1c3aac1cd3a155a2b821370a477fc367ef40c3 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Tue, 11 Feb 2020 16:33:29 -0800 Subject: [PATCH] fix typo --- ansible_mitogen/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_mitogen/connection.py b/ansible_mitogen/connection.py index 80393c84..3e16ce27 100644 --- a/ansible_mitogen/connection.py +++ b/ansible_mitogen/connection.py @@ -593,7 +593,7 @@ class Connection(ansible.plugins.connection.ConnectionBase): return task_vars elif f.f_code.co_name == '_execute_meta': f_all_vars = f.f_locals.get('all_vars') - f_self = f_locals.get('self') + f_self = f.f_locals.get('self') if isinstance(f_self, ansible_mitogen.mixins.ActionModuleMixin): # backref for python interpreter discovery, should be safe because _get_task_vars # is always called before running interpreter discovery