minor clean-ups, found with pychecker
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 28 Oct 2004 21:11:02 +0000 (21:11 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 28 Oct 2004 21:11:02 +0000 (21:11 +0000)
src/mesa/glapi/gl_XML.py

index ff9bc8f4a4d41ec17a44ff0fda94b449b41caf2b..55bbddafa5b8f592e53dda22e6fbbdff9ceb8d6b 100644 (file)
@@ -29,7 +29,7 @@ from xml.sax import saxutils
 from xml.sax import make_parser
 from xml.sax.handler import feature_namespaces
 
-import sys, re
+import re
 
 class glItem:
        """Generic class on which all other API entity types are based."""
@@ -74,7 +74,6 @@ class glItem:
                        return 1
                else:
                        return 0
-               return
 
        def get_category_define(self):
                return self.category