Re: [Mesa-dev] [PATCH 03/26] python: Stop using the Python 2 exception syntax

2018-07-06 Thread Ian Romanick
This patch is Reviewed-by: Ian Romanick On 07/06/2018 03:13 AM, Mathieu Bridon wrote: > We could have made this compatible with Python 3 by using: > > except Exception as e: > > But since none of this code actually uses the exception objects, let's > just drop them entirely. > > Signed-of

[Mesa-dev] [PATCH 03/26] python: Stop using the Python 2 exception syntax

2018-07-06 Thread Mathieu Bridon
We could have made this compatible with Python 3 by using: except Exception as e: But since none of this code actually uses the exception objects, let's just drop them entirely. Signed-off-by: Mathieu Bridon --- src/mapi/glapi/gen/glX_XML.py | 2 +- src/mapi/glapi/gen/gl_XML.py