From 00b3ffe826a93229de9c27a2e73c791462defd14 Mon Sep 17 00:00:00 2001 From: Matteo Pompili <6500688+matpompili@users.noreply.github.com> Date: Thu, 26 Dec 2024 18:52:57 +0100 Subject: [PATCH] Bring back changes, they were not the issue. --- plugins/connection/aws_ssm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/connection/aws_ssm.py b/plugins/connection/aws_ssm.py index 4f13b0653cb..0dae5092876 100644 --- a/plugins/connection/aws_ssm.py +++ b/plugins/connection/aws_ssm.py @@ -749,8 +749,8 @@ def _post_process(self, stdout, mark_begin): stdout = stdout[:stdout.rfind(mark_begin)] # fmt: skip # If the return code contains #CLIXML (like a progress bar) remove it - # clixml_filter = re.compile(r"#<\sCLIXML\s") - # stdout = clixml_filter.sub("", stdout) + clixml_filter = re.compile(r"#<\sCLIXML\s") + stdout = clixml_filter.sub("", stdout) # If it looks like JSON remove any newlines if stdout.startswith("{"):