mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
AC-1061 Removed my test exception raised in the inventory script.
This commit is contained in:
@@ -107,7 +107,6 @@ class InventoryScript(object):
|
|||||||
try:
|
try:
|
||||||
# Command line argument takes precedence over environment
|
# Command line argument takes precedence over environment
|
||||||
# variable.
|
# variable.
|
||||||
raise ValueError('foo')
|
|
||||||
self.inventory_id = int(self.options.get('inventory_id', 0) or \
|
self.inventory_id = int(self.options.get('inventory_id', 0) or \
|
||||||
os.getenv('INVENTORY_ID', 0))
|
os.getenv('INVENTORY_ID', 0))
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Reference in New Issue
Block a user