mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 13:41:28 -03:30
fix a human format bug for settings
This commit is contained in:
parent
276b577103
commit
3e97608914
@ -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