From d92753f20aef7af3f2063e4659c9f688061c84d1 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Fri, 9 Aug 2019 14:43:34 -0400 Subject: [PATCH] remove awxkit logic for working around an old stdout handling bug related: https://github.com/ansible/awx/issues/200 --- awxkit/awxkit/api/pages/unified_jobs.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/awxkit/awxkit/api/pages/unified_jobs.py b/awxkit/awxkit/api/pages/unified_jobs.py index 38457d1922..d168c86a2b 100644 --- a/awxkit/awxkit/api/pages/unified_jobs.py +++ b/awxkit/awxkit/api/pages/unified_jobs.py @@ -35,11 +35,6 @@ class UnifiedJob(HasStatus, base.Base): return self.connection.get( self.related.stdout, query_parameters=dict(format='txt_download') ).content.decode() - if str(self.json.get('result_stdout')) == 'stdout capture is missing' and 'stdout' in self.related: - ping = self.walk(resources.ping) - if self.execution_node != ping.active_node: - self.connection.get(self.related.stdout, query_parameters=dict(format='txt_download')) - self.get() return self.json.result_stdout.decode() def assert_text_in_stdout(self, expected_text, replace_spaces=None, replace_newlines=' '):