Merge "Fix software delete traceback error"

This commit is contained in:
Zuul 2024-02-08 13:27:06 +00:00 committed by Gerrit Code Review
commit f6bf77a981
1 changed files with 3 additions and 0 deletions

View File

@ -295,6 +295,9 @@ def _print_result_list(header_data_list, data_list, has_error, sort_key=0):
if has_error:
return
if data_list is None or len(data_list) == 0:
return
# Find the longest header string in each column
header_lengths = [len(str(x)) for x in header_data_list]
# Find the longest content string in each column