[Piglit] [PATCH 2/6] tests/igt.py: Change an empty string to a list
Dylan Baker
baker.dylan.c at gmail.com
Mon Jan 19 09:38:10 PST 2015
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.
---
tests/igt.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/igt.py b/tests/igt.py
index 4d76636..55b0f4a 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.1
More information about the Piglit
mailing list