mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Merge pull request #4688 from ryanpetrello/human-format-null
fix a human format bug for settings Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
ff32a5286e
@ -165,6 +165,8 @@ def format_human(output, fmt):
|
||||
except (ValueError, TypeError):
|
||||
if isinstance(v, (list, dict)):
|
||||
return json.dumps(v)
|
||||
if v is None:
|
||||
return ''
|
||||
return v
|
||||
|
||||
# calculate the max width of each column
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user