Example #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
Example #2
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
Example #3
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
Example #4
0
 def getState(self):
     return PRB_INVITE_STATE.getFromNewState(self)
Example #5
0
 def getState(self):
     return PRB_INVITE_STATE.getFromNewState(self)