summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 2f7d49c..8572fec 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -578,7 +578,7 @@ class LDAP(pykolab.base.Base):
secondary_mail_attribute = mail_attributes[1]
daemon_rcpt_policy = self.config_get('daemon_rcpt_policy')
- if not utils.true_or_false(daemon_rcpt_policy) == False and not daemon_rcpt_policy == None:
+ if not utils.true_or_false(daemon_rcpt_policy) and not daemon_rcpt_policy == None:
log.info(_("Applying recipient policy disabled through configuration"))
return entry_modifications