Esempio n. 1
0
def getPrbInviteStateName(state):
    try:
        stateName = PRB_INVITE_STATE.getKeyByValue(state)
    except KeyError:
        LOG_ERROR('State of prebattle invite not found', state)
        stateName = 'N/A'

    return stateName
Esempio n. 2
0
def getPrbInviteStateName(state):
    try:
        stateName = PRB_INVITE_STATE.getKeyByValue(state)
    except KeyError:
        LOG_ERROR('State of prebattle invite not found', state)
        stateName = 'N/A'

    return stateName
Esempio n. 3
0
def getPrbInviteStateName(state):
    try:
        stateName = PRB_INVITE_STATE.getKeyByValue(state)
    except KeyError:
        _logger.error('State of prebattle invite not found. %s', state)
        stateName = 'N/A'

    return stateName