Currently there is a function that in some cases could return '', but the output is assumed to be a list. This patch ensures that it always returns a list.
Signed-off-by: Dylan Baker <[email protected]> --- tests/igt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/igt.py b/tests/igt.py index aa635c7..6539308 100644 --- a/tests/igt.py +++ b/tests/igt.py @@ -112,7 +112,7 @@ def listTests(listname): lines = (line.rstrip() for line in f.readlines()) found_header = False - progs = "" + progs = [] for line in lines: if found_header: -- 2.2.2 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
