)]}'
{"tempest/lib/common/jsonschema_validator.py":[{"author":{"_account_id":25903,"name":"Vu Cong Tuan","email":"tuanvc@vn.fujitsu.com","username":"tuanvu"},"change_message_id":"ade49aa908bf7eb009687256aead5e125e9fa89c","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    try:"},{"line_number":46,"context_line":"        if isinstance(instance, six.text_type):"},{"line_number":47,"context_line":"            instance \u003d instance.encode(\u0027utf-8\u0027)"},{"line_number":48,"context_line":"        base64.decode_as_bytes(instance)"},{"line_number":49,"context_line":"    except TypeError:"},{"line_number":50,"context_line":"        # The name must be string type. If instance isn\u0027t string type, the"},{"line_number":51,"context_line":"        # TypeError will be raised at here."}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_963764fe","line":48,"updated":"2018-11-02 08:20:05.000000000","message":"\"decode_as_bytes\" catches binascii.Error and raises TypeError [1]. So, we get the same behavior here to return False if we encounter it.\n\n[1] https://github.com/openstack/oslo.serialization/blob/181de14da10a84a04cb4f54277d96e1ccb0b124e/oslo_serialization/base64.py#L75-L77","commit_id":"d13622f27472858e70327cf66eb11d834069ee25"}]}
