summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/gen/gl_procs.py
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2016-03-29 09:59:53 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2016-03-31 15:11:21 -0700
commitd115b7e934af0c99839aaf74dce6e2e2af1a61c9 (patch)
tree1c92d0ba488139c9f2e57f9ef23a365db3036096 /src/mapi/glapi/gen/gl_procs.py
parentb6a5ec4c299566b8365a927c139d969cc44c56c2 (diff)
glapi: normalize python newlines
The python code has no standardization on how many newlines to put anywere. Sometimes top level items have one space between them, sometimes two, and sometimes three. Sometiems methods and other sub items had two, sometimes one, sometimes 3. This patches uses PEP8 styling (2 lines between top level functions and classes, 1 between methods and nested functions), This doesn't result in huge changes in any one file, but when considering all of the python files it's quite a few changes. This is only whitespace changes. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'src/mapi/glapi/gen/gl_procs.py')
-rw-r--r--src/mapi/glapi/gen/gl_procs.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/gl_procs.py b/src/mapi/glapi/gen/gl_procs.py
index 04c54b5419..608ca40d98 100644
--- a/src/mapi/glapi/gen/gl_procs.py
+++ b/src/mapi/glapi/gen/gl_procs.py
@@ -96,7 +96,6 @@ class PrintGlProcs(gl_XML.gl_print_base):
base_offset += len(func.name) + 3
-
for func in api.functionIterateByOffset():
for n in func.entry_points:
if n != func.name:
@@ -111,7 +110,6 @@ class PrintGlProcs(gl_XML.gl_print_base):
base_offset += len(n) + 3
-
print ' ;'
print ''
print ''