def parse_idp_binding_and_location(self, sso_node):
    try:
        attributes = sso_node.attrib
        self.sso_service_url = attributes['Location']
        self.idp_binding = attributes['Binding']
    except KeyError as e:
        raise MissingValue('Unable to parse %s', e.message)
def parse_idp_binding_and_location(self, sso_node):
    try:
        attributes = sso_node.attrib
        self.sso_service_url = attributes['Location']
        self.idp_binding = attributes['Binding']
    except KeyError as e:
        raise MissingValue('Unable to parse %s', e.message)