[Piglit] [PATCH 2/2] json.py: fix key name typo in result loading
Dylan Baker
baker.dylan.c at gmail.com
Thu Apr 23 11:06:17 PDT 2015
For the series:
Reviewed-by: Dylan Baker <baker.dylan.c at gmail.com>
On Thu, Apr 23, 2015 at 04:03:03PM +0100, Thomas Wood wrote:
> 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.wood at 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150423/ea0ef53d/attachment.sig>
More information about the Piglit
mailing list