From 3e97608914739cbf1c8b7a48f4b6780aa9d16357 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Mon, 9 Sep 2019 15:25:04 -0400 Subject: [PATCH] fix a human format bug for settings --- awxkit/awxkit/cli/format.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awxkit/awxkit/cli/format.py b/awxkit/awxkit/cli/format.py index 0f593151f8..f87afc07d3 100644 --- a/awxkit/awxkit/cli/format.py +++ b/awxkit/awxkit/cli/format.py @@ -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