def __init__(self, dn, attributes):
self.dn = dn
self.attributes = attributes
def __init__(self, dn, attributes):
self.dn = dn
self.attributes = attributes
def __contains__(self, key):
return key in self.attributes
def __contains__(self, key):
return key in self.attributes
def latitude_dec(self, anonymized=False):
return userdir_ldap.DecDegree(self['latitude'], anonymized)
def longitude_dec(self, anonymized=False):
def latitude_dec(self, anonymized=False):
return userdir_ldap.DecDegree(self['latitude'], anonymized)
def longitude_dec(self, anonymized=False):