From 941132c040cafe56f9bcacb56066ace8b622bc62 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 25 Oct 2020 15:46:56 -0700 Subject: [PATCH] revert missing interpreter change, it breaks with Mitogen and without Mitogen, something else might be causing new-style detection to not work --- .../lib/modules/custom_python_new_style_missing_interpreter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ansible/lib/modules/custom_python_new_style_missing_interpreter.py b/tests/ansible/lib/modules/custom_python_new_style_missing_interpreter.py index 03d1e590..1d8e9ef6 100644 --- a/tests/ansible/lib/modules/custom_python_new_style_missing_interpreter.py +++ b/tests/ansible/lib/modules/custom_python_new_style_missing_interpreter.py @@ -3,7 +3,8 @@ import sys # As of Ansible 2.10, Ansible changed new-style detection: # https://github.com/ansible/ansible/pull/61196/files#diff-5675e463b6ce1fbe274e5e7453f83cd71e61091ea211513c93e7c0b4d527d637L828-R980 -# import ansible.module_utils.basic +# NOTE: this doesn't work for vanilla Ansible anymore +# from ansible.module_utils. def usage():