diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-04-13 12:48:13 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-04-13 12:48:13 +0100 |
commit | 9422f2cc8899c74e09f1dc047d049a74e72da283 (patch) | |
tree | ba52b5009cbcf29f864f5470da4c2db03e5d3b71 /bin | |
parent | 8c6f0209bb5cef9be92cc6ef794397e2a2e6d313 (diff) | |
download | pykolab-9422f2cc8899c74e09f1dc047d049a74e72da283.tar.gz |
Fix some mistakes in the previous commit
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/kolab_smtp_access_policy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/kolab_smtp_access_policy.py b/bin/kolab_smtp_access_policy.py index e2a9421..7f0bf56 100755 --- a/bin/kolab_smtp_access_policy.py +++ b/bin/kolab_smtp_access_policy.py @@ -792,14 +792,14 @@ class PolicyRequest(object): log.debug(_("Could not find this user, accepting"), level=8) return True - if not user['dn'] == None: + if not user['dn'] == False: recipient_policy = auth.get_user_attribute( sasl_domain, user, 'kolabAllowSMTPSender' ) - if not group['dn'] == None: + if not group['dn'] == False: recipient_policy = auth.get_group_attribute( sasl_domain, group, |