summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-15 17:31:06 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-15 17:31:06 +0100
commitd2a7be158191fb1bc8733ac09ecfb5dcbc14716b (patch)
tree36333e4ba802c678799fcdcf904ea547e9e41a07
parentade3208d4b0bf5bf36b75d2045026b23213f96c7 (diff)
downloadpykolab-d2a7be158191fb1bc8733ac09ecfb5dcbc14716b.tar.gz
Fix reference to attribute key
-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 cbe4830..8b2e841 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -1611,7 +1611,7 @@ class LDAP(pykolab.base.Base):
mailserver_attribute = self.config_get('mailserver_attribute')
if entry.has_key(mailserver_attribute):
- server = entry['mailserver_attribute']
+ server = entry[mailserver_attribute]
if not entry.has_key('kolabtargetfolder'):
entry['kolabtargetfolder'] = self.get_entry_attribute(