mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 03:30:02 -03:30
Prevent exception for Non value
This commit is contained in:
@@ -82,6 +82,10 @@ except ImportError:
|
||||
|
||||
|
||||
def coerce_type(module, value):
|
||||
# If our value is already None we can just return directly
|
||||
if value == None:
|
||||
return value
|
||||
|
||||
yaml_ish = bool((
|
||||
value.startswith('{') and value.endswith('}')
|
||||
) or (
|
||||
|
||||
Reference in New Issue
Block a user