From 8d3ee26079bfb863ca7b647606d85f8ed26414fd Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 23 Aug 2020 18:01:37 -0700 Subject: [PATCH] code cleanup --- ansible_mitogen/strategy.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ansible_mitogen/strategy.py b/ansible_mitogen/strategy.py index c48e8b7d..7b74e641 100644 --- a/ansible_mitogen/strategy.py +++ b/ansible_mitogen/strategy.py @@ -165,7 +165,6 @@ def wrap_connection_loader__get(name, *args, **kwargs): While a Mitogen strategy is active, rewrite connection_loader.get() calls for some transports into requests for a compatible Mitogen transport. """ - # THIS ISN'T BEING CALLED NOW if name in REDIRECTED_CONNECTION_PLUGINS: name = 'mitogen_' + name @@ -366,8 +365,6 @@ class StrategyMixin(object): try: wrappers.install() try: - # TODO: ansible 2.10 doesn't actually call Mitogen like it used to - # mitogen_linear is called as expected but connection wrapping doesn't work run = super(StrategyMixin, self).run return mitogen.core._profile_hook('Strategy', lambda: run(iterator, play_context)