From 427ea6752e4bbf3b7c7623a62ceced6d4298eff0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 1 Jun 2018 22:25:46 -0400 Subject: [PATCH] Fix syntax error --- awx/plugins/inventory/tower.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/plugins/inventory/tower.py b/awx/plugins/inventory/tower.py index f6aee944ff..a74e1361da 100755 --- a/awx/plugins/inventory/tower.py +++ b/awx/plugins/inventory/tower.py @@ -114,7 +114,7 @@ def read_tower_inventory(tower_host, tower_user, tower_pass, inventory, license_ return response.json() except (ValueError, TypeError) as e: # If the JSON parse fails, print the ValueError - raise RuntimeError("Failed to parse json from host: {}".format(e) + raise RuntimeError("Failed to parse json from host: {}".format(e)) except requests.ConnectionError as e: raise RuntimeError("Connection to remote host failed: {}".format(e))