Ejemplo n.º 1
0
def is_old_confirm(m):
    x = _confirm_re.search(m.as_string())
    if x:
        return wledb.check_presence("old_requests", "request", x.group(1))
    return False
Ejemplo n.º 2
0
def is_in_confirmed_list(str, c=None):
    for i in str:
        if wledb.check_presence("confirmed", "email", i.lower(), c):
            return True
    return False
Ejemplo n.º 3
0
def is_in_confirmed_list (str, c = None):
    for i in str:
        if wledb.check_presence ("confirmed", "email", i.lower(), c):
            return True
    return False
Ejemplo n.º 4
0
def is_old_confirm (m):
    x = _confirm_re.search (m.as_string())
    if x:
        return wledb.check_presence ("old_requests", "request",
                                     x.group (1))
    return False