[Mesa-dev] [PATCH mesa 1/3] anv: remove unnecessary semicolons in python
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Thu Jul 26 09:12:21 UTC 2018
On 25/07/18 20:14, Eric Engestrom wrote:
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin 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):
More information about the mesa-dev
mailing list