Merge "Convert byte to str for py3 compatibilty"

This commit is contained in:
Jenkins 2015-08-04 11:50:04 +00:00 committed by Gerrit Code Review
commit 401fa6643a

View File

@ -50,7 +50,7 @@ def load_schema(version, name, package=None):
schema_string = resource_string('schemas', version, '%s.json' % name,
package=package)
return json.loads(schema_string)
return json.loads(schema_string.decode('utf-8'))
def get_item_properties(item, fields, mixed_case_fields=[], formatters={}):