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:18:35 +0100
commit2b5984074d09e517b53b993206b93c1014351649 (patch)
tree4a3fd0b38060232638c1361b41c8712ff02b5bfb /pykolab
parent8b8ce00d11d4b75e1d735864ff462627d257c462 (diff)
downloadpykolab-2b5984074d09e517b53b993206b93c1014351649.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 20c5d65..a4b60be 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -949,7 +949,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