Skip to content

Commit d033f7b

Browse files
committed
ansible_mitogen: Restore dummy objects in Connection.reset()
The previous commit (53b4881 in PR 1200) was not intended to change these values, but some WIP slipped through. This partially reverts that commit so the two changes (moving the monkey patch, making the monkey patch more capable) exist in distinct commits.
1 parent 7a828e7 commit d033f7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ansible_mitogen/connection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -948,11 +948,11 @@ def reset(self):
948948
# have an action object, which we need for interpreter_discovery.
949949
# Create a temporary action object for this purpose.
950950
self._action = ansible_mitogen.mixins.ActionModuleMixin(
951-
task=task,
951+
task=0,
952952
connection=self,
953953
play_context=self._play_context,
954-
loader=templar._loader,
955-
templar=templar,
954+
loader=0,
955+
templar=0,
956956
shared_loader_obj=0,
957957
)
958958
self._action_monkey_patched_by_mitogen = True

0 commit comments

Comments
 (0)