[Mesa-dev] [PATCH mesa 1/3] anv: remove unnecessary semicolons in python

Dylan Baker dylan.c.baker at intel.com
Wed Jul 25 19:22:36 UTC 2018


for the series:
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

Quoting Eric Engestrom (2018-07-25 12:14:50)
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
> ---
>  src/intel/vulkan/anv_extensions.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/intel/vulkan/anv_extensions.py b/src/intel/vulkan/anv_extensions.py
> index ea837744b4352845b0d5..cffc3e700cb0ccb7fa8f 100644
> --- a/src/intel/vulkan/anv_extensions.py
> +++ b/src/intel/vulkan/anv_extensions.py
> @@ -31,11 +31,11 @@
>  
>  def _bool_to_c_expr(b):
>      if b is True:
> -        return 'true';
> +        return 'true'
>      elif b is False:
> -        return 'false';
> +        return 'false'
>      else:
> -        return b;
> +        return b
>  
>  class Extension:
>      def __init__(self, name, ext_version, enable):
> -- 
> Cheers,
>   Eric
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180725/dacba275/attachment.sig>


More information about the mesa-dev mailing list