[Piglit] [PATCH 12/12] gen_dispatch.py: silence error

Dylan Baker baker.dylan.c at gmail.com
Tue Jan 13 17:48:22 PST 2015


This script manipulates the python path to get at some modules, because
of this pylint gives an error (as opposed to a warning) about not being
able to import that module. This patch silences that error.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 tests/util/gen_dispatch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/util/gen_dispatch.py b/tests/util/gen_dispatch.py
index 34f3704..5cc6cca 100644
--- a/tests/util/gen_dispatch.py
+++ b/tests/util/gen_dispatch.py
@@ -38,7 +38,7 @@ import mako.template
 PIGLIT_TOP_DIR = os.path.join(os.path.dirname(__file__), '..', '..')
 sys.path.append(PIGLIT_TOP_DIR)
 
-import registry.gl
+import registry.gl  # pylint: disable=import-error
 
 
 debug = False
-- 
2.2.1



More information about the Piglit mailing list