diff options
Diffstat (limited to 'src/mapi/glapi/gen/remap_helper.py')
-rw-r--r-- | src/mapi/glapi/gen/remap_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/remap_helper.py b/src/mapi/glapi/gen/remap_helper.py index e2fa0e8c28..5a0d6f505c 100644 --- a/src/mapi/glapi/gen/remap_helper.py +++ b/src/mapi/glapi/gen/remap_helper.py @@ -128,7 +128,7 @@ class PrintGlRemap(gl_XML.gl_print_base): # consider only GL_VERSION_X_Y or extensions c = gl_XML.real_category_name(category) if c.startswith("GL_"): - if not extension_functions.has_key(c): + if c not in extension_functions: extension_functions[c] = [] extension_functions[c].append(f) # remember the ext names of the ABI |