python: Stop using the Python 2 exception syntax
authorMathieu Bridon <bochecha@daitauha.fr>
Fri, 6 Jul 2018 10:13:36 +0000 (12:13 +0200)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 6 Jul 2018 17:18:43 +0000 (10:18 -0700)
commitb39bdb07164211c483a3c8a8625689169be09cc4
tree64f84b5851c3346213ea573c79f10ca37edceb75
parente5a8d51e541376077d3ca72f00eacadab6ac0501
python: Stop using the Python 2 exception syntax

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 <bochecha@daitauha.fr>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mapi/glapi/gen/glX_XML.py
src/mapi/glapi/gen/gl_XML.py
src/mapi/glapi/gen/gl_marshal.py
src/mapi/glapi/gen/gl_marshal_h.py
src/mesa/main/get_hash_generator.py