summaryrefslogtreecommitdiff
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-04 15:46:33 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-04 15:46:33 (GMT)
commit410bf5dca72d3079c276d3dd9b6a017e5dcbd972 (patch)
treebbfc90be750be9ef5169a1db488e5236968bc83b /pykolab
parentce08efd8fe57d7a8b359f26b265c0a1891c71f31 (diff)
downloadpykolab-410bf5dca72d3079c276d3dd9b6a017e5dcbd972.tar.gz
Lint issue
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/auth/ldap/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
index d814aae..2f01ba3 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -455,7 +455,9 @@ class LDAP(pykolab.base.Base):
# Primary mail address
if not primary_mail == None:
- if not entry.has_key(primary_mail_attribute) or entry[primary_mail_attribute] == None:
+ if not entry.has_key(primary_mail_attribute) or \
+ entry[primary_mail_attribute] == None:
+
primary_mail_address = conf.plugins.exec_hook(
"set_primary_mail",
kw={