If the results file is converted to a newer results version, the invalid
key name would be added to the updated file.

Signed-off-by: Thomas Wood <thomas.w...@intel.com>
---
 framework/backends/json.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/backends/json.py b/framework/backends/json.py
index d68dd7d..0a4758b 100644
--- a/framework/backends/json.py
+++ b/framework/backends/json.py
@@ -207,7 +207,7 @@ def _load(results_file):
     
     """
     result = results.TestrunResult()
-    result.results_vesrion = 0  # This should get overwritten
+    result.results_version = 0  # This should get overwritten
     result.__dict__.update(json.load(results_file))
 
     for key, value in result.tests.viewitems():
-- 
2.1.0

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to