)]}'
{"nova/api/validation/validators.py":[{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"1b7ea9e4c2a5c22ef2350dff9f9facd7ee3bdc8e","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    try:"},{"line_number":59,"context_line":"        if isinstance(instance, six.text_type):"},{"line_number":60,"context_line":"            instance \u003d instance.encode(\u0027utf-8\u0027)"},{"line_number":61,"context_line":"        base64.decode_as_bytes(instance)"},{"line_number":62,"context_line":"    except TypeError:"},{"line_number":63,"context_line":"        # The name must be string type. If instance isn\u0027t string type, the"},{"line_number":64,"context_line":"        # TypeError will be raised at here."}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_4a3d0a27","line":61,"updated":"2018-10-16 01:00:08.000000000","message":"Note to self: 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":"ece8043ffe9e7df96366a295024e353af41d5fdb"}]}
