Skip to content

Commit cf9829c

Browse files
committed
fix(cli): fix #266
Signed-off-by: Chris Snow <[email protected]>
1 parent 6e74a10 commit cf9829c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hpecp/cli_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ def _dump_row(data, stream):
7676
def dump(data):
7777
"""Dump the python object as text.""" # noqa: D202
7878

79+
if data is None:
80+
return str("")
81+
7982
class MyStringIO(StringIO):
8083
def write(self, b):
8184
if six.PY2:

0 commit comments

Comments
 (0)