mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Fix error in inventory script.
This commit is contained in:
parent
a987be36cb
commit
635233b5ec
@ -81,8 +81,7 @@ class InventoryScript(object):
|
||||
url = urlparse.urljoin(url, url_path)
|
||||
response = requests.get(url, auth=auth)
|
||||
response.raise_for_status()
|
||||
sys.stdout.write(json.dumps(json.loads(response.content),
|
||||
indent=self.indent) + '\n')
|
||||
sys.stdout.write(response.content)
|
||||
|
||||
def run(self):
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user