[PATCH i-g-t 02/10] scripts/xls_to_doc.py: don't ignore the last column
Kamil Konieczny
kamil.konieczny at linux.intel.com
Thu Mar 14 15:28:53 UTC 2024
Hi Mauro,
On 2024-03-14 at 11:29:11 +0100, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab at kernel.org>
>
> Currently the last line of the spreadsheet is not processed.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> ---
> scripts/xls_to_doc.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/xls_to_doc.py b/scripts/xls_to_doc.py
> index f47d56719bfe..bd14320a3bce 100755
> --- a/scripts/xls_to_doc.py
> +++ b/scripts/xls_to_doc.py
> @@ -103,7 +103,7 @@ class FillTests(TestList):
> for cell in sheet[1]:
> column_list.append(cell.value)
>
> - for row in range(2, sheet.max_row):
> + for row in range(2, sheet.max_row + 1):
> if sheet[row][0].value is None:
> print(f"Ignoring sheet after A{row} row, as test name is empty")
> return
> --
> 2.43.2
>
More information about the igt-dev
mailing list