python: Stop using the Python 2 exception syntax
[mesa.git] / src / mapi / glapi / gen / glX_XML.py
index b6d305c87970af5a7e87d1600f62e85999b5099c..d09370a508fa475e4de77773d756eb8c5b522a2a 100644 (file)
@@ -470,7 +470,7 @@ class glx_function(gl_XML.gl_function):
     def needs_reply(self):
         try:
             x = self._needs_reply
-        except Exception, e:
+        except Exception:
             x = 0
             if self.return_type != 'void':
                 x = 1