From 635233b5ecb062fdb1c80ce0ae2865cbdecb7bb2 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 28 Jun 2013 12:08:12 -0400 Subject: [PATCH] Fix error in inventory script. --- awx/scripts/inventory.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/awx/scripts/inventory.py b/awx/scripts/inventory.py index e297ce3f21..79dac87725 100755 --- a/awx/scripts/inventory.py +++ b/awx/scripts/inventory.py @@ -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: