Logo Search packages:      
Sourcecode: scalemail version File versions

ldap.py

from scalemail.gone import parse, times, respond

def is_active(config, entry, now):
    l = []
    for s in entry.get(config.getLDAPAttributeAway(), []):
        gone = parse.parse(s)
        l.append(gone)
    return times.findTime(now, l)

Generated by  Doxygen 1.6.0   Back to index