From: Dylan Baker <dylanx.c.ba...@intel.com>

PEP8 specifies that imports should be sorted into groups, separated by a
blank line. The first should by core modules, the second should be
system wide modules, and the third local modules.

Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
 tests/util/gen_dispatch.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/util/gen_dispatch.py b/tests/util/gen_dispatch.py
index 068b5db..46869f8 100644
--- a/tests/util/gen_dispatch.py
+++ b/tests/util/gen_dispatch.py
@@ -27,13 +27,14 @@ Generate C source code from Khronos XML.
 from __future__ import print_function
 
 import argparse
-import mako.runtime
-import mako.template
 import os.path
 import re
 import sys
 from collections import namedtuple
 
+import mako.runtime
+import mako.template
+
 PIGLIT_TOP_DIR = os.path.join(os.path.dirname(__file__), '..', '..')
 sys.path.append(PIGLIT_TOP_DIR)
 
-- 
2.2.1

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to