[Piglit] [PATCH 08/12] gen_dispatch.py: remove unused imports

Vinson Lee vlee at freedesktop.org
Fri Jan 16 21:50:29 PST 2015


On Tue, Jan 13, 2015 at 5:48 PM, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> From: Dylan Baker <dylanx.c.baker at intel.com>
>
> spotted by pylint
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  tests/util/gen_dispatch.py | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/tests/util/gen_dispatch.py b/tests/util/gen_dispatch.py
> index 233a6fb..068b5db 100644
> --- a/tests/util/gen_dispatch.py
> +++ b/tests/util/gen_dispatch.py
> @@ -27,21 +27,18 @@ Generate C source code from Khronos XML.
>  from __future__ import print_function
>
>  import argparse
> -import functools
>  import mako.runtime
>  import mako.template
>  import os.path
>  import re
>  import sys
> -
>  from collections import namedtuple
> -from textwrap import dedent
>
>  PIGLIT_TOP_DIR = os.path.join(os.path.dirname(__file__), '..', '..')
>  sys.path.append(PIGLIT_TOP_DIR)
>
>  import registry.gl
> -from registry.gl import Extension, OrderedKeyedSet, ImmutableOrderedKeyedSet
> +from registry.gl import Extension
>
>
>  debug = False
> --
> 2.2.1
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


Reviewed-by: Vinson Lee <vlee at freedesktop.org>


More information about the Piglit mailing list