summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-12 14:32:12 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-12 14:32:42 +0100
commit0c9a2496db76e7f68a05d08b66cd88f9a109dcff (patch)
tree0dd4fb970d637fc4191d0b6a8fc83ee10ffe2823
parent372707888d593f737f63114c94ad8672327c5133 (diff)
downloadpykolab-0c9a2496db76e7f68a05d08b66cd88f9a109dcff.tar.gz
Replace get_user_attribute call with the appropriate get_entry_attribute call
-rw-r--r--pykolab/auth/ldap/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
index 1ba0f3d..e7c4dd2 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -1163,7 +1163,7 @@ class LDAP(pykolab.base.Base):
foldertype_attribute = self.config_get('sharedfolder_type_attribute')
if not foldertype_attribute == None:
if not entry.has_key(foldertype_attribute):
- entry[foldertype_attribute] = self.get_user_attribute(
+ entry[foldertype_attribute] = self.get_entry_attribute(
entry['id'],
foldertype_attribute
)
@@ -1532,7 +1532,7 @@ class LDAP(pykolab.base.Base):
foldertype_attribute = self.config_get('sharedfolder_type_attribute')
if not foldertype_attribute == None:
if not entry.has_key(foldertype_attribute):
- entry[foldertype_attribute] = self.get_user_attribute(
+ entry[foldertype_attribute] = self.get_entry_attribute(
entry['id'],
foldertype_attribute
)