Skip to content

Commit 8bd943f

Browse files
committed
Improved code
1 parent ca5d91a commit 8bd943f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/formatting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,6 @@ def clean_null_table_rows(data):
467467
"""Delete Null fields by '-', in a table"""
468468
for index_i, row in enumerate(data.rows):
469469
for index_j, value in enumerate(row):
470-
if str(value) + '' == 'NULL':
470+
if str(value) == 'NULL':
471471
data.rows[index_i][index_j] = '-'
472472
return data

0 commit comments

Comments
 (0)