diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2016-01-12 17:38:41 -0800 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2016-02-08 14:48:14 -0800 |
commit | fd851b49794b1ee14923f401374ff0534f94d464 (patch) | |
tree | 9a092acc2c0666a195530d2c8359c668fe1bc0ad /framework | |
parent | 2c63633441238212a895665a552d1d3628b16be5 (diff) |
framework/backends/json.py: use text_type instead for str
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Acked-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/backends/json.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/backends/json.py b/framework/backends/json.py index beae8f883..c4074fd0a 100644 --- a/framework/backends/json.py +++ b/framework/backends/json.py @@ -67,7 +67,7 @@ def piglit_encoder(obj): """ if isinstance(obj, status.Status): - return str(obj) + return six.text_type(obj) elif isinstance(obj, set): return list(obj) elif hasattr(obj, 'to_json'): |