diff --git a/awxkit/awxkit/api/utils.py b/awxkit/awxkit/api/utils.py index 8433579bb30d..5d09a019546f 100644 --- a/awxkit/awxkit/api/utils.py +++ b/awxkit/awxkit/api/utils.py @@ -15,7 +15,12 @@ def freeze(key): def parse_description(desc): options = {} - for line in desc.splitlines(): + desc_lines = [] + if 'POST' in desc: + desc_lines = desc[desc.index('POST') :].splitlines() + else: + desc_lines = desc.splitlines() + for line in desc_lines: match = descRE.match(line) if not match: continue