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 <[email protected]>
---
 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

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to