From 74468abf0a162def840f6e223bcfbafbfc85c1d3 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Fri, 16 Feb 2018 08:04:40 +0545 Subject: [PATCH] ansible: fix syntax error --- ansible_mitogen/connection/mitogen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible_mitogen/connection/mitogen.py b/ansible_mitogen/connection/mitogen.py index 2677ef06..a00826bd 100644 --- a/ansible_mitogen/connection/mitogen.py +++ b/ansible_mitogen/connection/mitogen.py @@ -50,7 +50,7 @@ class Connection(ansible.plugins.connection.ConnectionBase): def _connect_local(self): return mitogen.service.call(self.parent, 500, { 'method': 'local', - } + }) def _connect_ssh(self): return mitogen.service.call(self.parent, 500, cast({ @@ -83,7 +83,7 @@ class Connection(ansible.plugins.connection.ConnectionBase): if self._play_context.connection == 'local': host = self._connect_local() else: - host = self._connect_ssh(self) + host = self._connect_ssh() if not self._play_context.become: self.context = host