mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
minor clean-ups, found with pychecker
This commit is contained in:
parent
fa557e904d
commit
98fa2bf364
1 changed files with 1 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ from xml.sax import saxutils
|
||||||
from xml.sax import make_parser
|
from xml.sax import make_parser
|
||||||
from xml.sax.handler import feature_namespaces
|
from xml.sax.handler import feature_namespaces
|
||||||
|
|
||||||
import sys, re
|
import re
|
||||||
|
|
||||||
class glItem:
|
class glItem:
|
||||||
"""Generic class on which all other API entity types are based."""
|
"""Generic class on which all other API entity types are based."""
|
||||||
|
|
@ -74,7 +74,6 @@ class glItem:
|
||||||
return 1
|
return 1
|
||||||
else:
|
else:
|
||||||
return 0
|
return 0
|
||||||
return
|
|
||||||
|
|
||||||
def get_category_define(self):
|
def get_category_define(self):
|
||||||
return self.category
|
return self.category
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue