mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
AC-1061 Removed my test exception raised in the inventory script.
This commit is contained in:
parent
a18b9e2270
commit
0462bb3f3f
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user