summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-18 10:18:35 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-18 10:20:19 +0100
commit36de4f59212e42d6c7cdcc05312b37a32ff8d812 (patch)
treeec278f5f00efa826337738ba12c39f4b8ed13ee1 /pykolab
parent7512c5ede80512844d923b4b170a426f84d63279 (diff)
downloadpykolab-36de4f59212e42d6c7cdcc05312b37a32ff8d812.tar.gz
cache_entry is an object with attributes, not a dictionary (#784)
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/auth/ldap/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
index a5e1042..7cdb018 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -931,7 +931,7 @@ class LDAP(pykolab.base.Base):
cache_entry = cache.get_entry(self.domain, entry)
if not cache_entry == None:
- old_canon_attr = cache_entry['result_attribute']
+ old_canon_attr = cache_entry.result_attribute
# See if we have to trigger the recipient policy. Only really applies to
# situations in which the result_attribute is used in the old or in the