summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/gen/gl_XML.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi/gen/gl_XML.py')
-rw-r--r--src/mapi/glapi/gen/gl_XML.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py
index b1f8eccd34..f857ad6271 100644
--- a/src/mapi/glapi/gen/gl_XML.py
+++ b/src/mapi/glapi/gen/gl_XML.py
@@ -914,7 +914,7 @@ class gl_api(object):
for func in self.functionIterateAll():
[cat_name, cat_number] = self.category_dict[func.name]
- if (cat == None) or (cat == cat_name):
+ if cat is None or cat == cat_name:
[func_cat_type, key] = classify_category(cat_name, cat_number)
if not lists[func_cat_type].has_key(key):