From 5fda6adfbaebe74962337c193ace342f352d24dc Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 12 Dec 2014 16:44:54 -0800 Subject: gen_dispatch.py: sort imports into groups 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 --- tests/util/gen_dispatch.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/util/gen_dispatch.py b/tests/util/gen_dispatch.py index 2623b7da4..34fd83f63 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) -- cgit v1.2.3