mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02:30
fix a human format bug for settings
This commit is contained in:
@@ -165,6 +165,8 @@ def format_human(output, fmt):
|
|||||||
except (ValueError, TypeError):
|
except (ValueError, TypeError):
|
||||||
if isinstance(v, (list, dict)):
|
if isinstance(v, (list, dict)):
|
||||||
return json.dumps(v)
|
return json.dumps(v)
|
||||||
|
if v is None:
|
||||||
|
return ''
|
||||||
return v
|
return v
|
||||||
|
|
||||||
# calculate the max width of each column
|
# calculate the max width of each column
|
||||||
|
|||||||
Reference in New Issue
Block a user