def getPriority(element):
    """Get the priority of this element

    Returns Max if no priority is specified or the priority value is invalid.
    """
    try:
        return getPriorityStrict(element)
    except __HOLE__:
        return Max
dataset/ETHPy150Open necaris/python3-openid/openid/yadis/etxrd.py/getPriority