From 0462bb3f3f242c1ca3c1ca3d122306a3efc21e08 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Tue, 25 Feb 2014 18:49:30 -0500 Subject: [PATCH] AC-1061 Removed my test exception raised in the inventory script. --- awx/plugins/inventory/awxrest.py | 1 - 1 file changed, 1 deletion(-) diff --git a/awx/plugins/inventory/awxrest.py b/awx/plugins/inventory/awxrest.py index 0c70e1a83f..347ecb0961 100755 --- a/awx/plugins/inventory/awxrest.py +++ b/awx/plugins/inventory/awxrest.py @@ -107,7 +107,6 @@ class InventoryScript(object): try: # Command line argument takes precedence over environment # variable. - raise ValueError('foo') self.inventory_id = int(self.options.get('inventory_id', 0) or \ os.getenv('INVENTORY_ID', 0)) except ValueError: