summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/gen/gl_XML.py
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2016-03-30 12:30:47 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2016-03-31 15:08:08 -0700
commit01855d5bc5bcc554d3456355bbd9228e58b4fdd7 (patch)
tree01f7dcb06b00fcda59289165a90db3fb469135fe /src/mapi/glapi/gen/gl_XML.py
parent9076e049340db0c55f57abb4ee9bbaffba61d45d (diff)
glapi: clean imports in python files
Completely clean the imports: - Split so that one module is imported per line - Remove unused imports - Group stdlib imports, then 3rd party modules, and finally local modules - sort alphabetically within those groups Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'src/mapi/glapi/gen/gl_XML.py')
-rw-r--r--src/mapi/glapi/gen/gl_XML.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py
index 2e7123ec40..8c622aa5b7 100644
--- a/src/mapi/glapi/gen/gl_XML.py
+++ b/src/mapi/glapi/gen/gl_XML.py
@@ -26,11 +26,13 @@
# Ian Romanick <idr@us.ibm.com>
from decimal import Decimal
-import xml.etree.ElementTree as ET
-import re, sys, string
import os.path
-import typeexpr
+import re
+import string
+import xml.etree.ElementTree as ET
+
import static_data
+import typeexpr
def parse_GL_API( file_name, factory = None ):