[PATCH i-g-t 08/10] scripts/xls_to_doc.py: reduce verbosity for writing message

Kamil Konieczny kamil.konieczny at linux.intel.com
Thu Mar 14 15:20:16 UTC 2024


Hi Mauro,
On 2024-03-14 at 11:29:17 +0100, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab at kernel.org>
> 
> Such log is usually uneeded. Drop it.

s/uneeded/unneeded/

With that,
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

> Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
> ---
>  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 0d6ad0e0b1cd..03feae5834d7 100755
> --- a/scripts/xls_to_doc.py
> +++ b/scripts/xls_to_doc.py
> @@ -348,7 +348,7 @@ class FillTests(TestList):
>  
>          # Write changes
>          try:
> -            if self.verbose:
> +            if self.verbose > 1:
>                  print(f"Writing to {sourcename}")
>  
>              with open(sourcename, 'w', encoding='utf8') as out_fp:
> -- 
> 2.43.2
> 


More information about the igt-dev mailing list