def search_msg_type(errno):
    for (k, v) in __MSG.iteritems():
        if (errno in v):
            return k
    return None
def search_msg_type(errno):
    for (k, v) in __MSG.iteritems():
        if (errno in v):
            return k
    return None