summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-09-30 14:26:55 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-09-30 14:26:55 (GMT)
commit8614ecfac134d73b925a8478b3749315d3248273 (patch)
tree9009b7804519c399e5a7140cc998e8e2bfa8aa83
parent45a877b33c797ccab7b35af9068bf0ea05518e00 (diff)
downloadpykolab-8614ecfac134d73b925a8478b3749315d3248273.tar.gz
Fix logging
-rw-r--r--pykolab/plugins/recipientpolicy/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/plugins/recipientpolicy/__init__.py b/pykolab/plugins/recipientpolicy/__init__.py
index 18aa064..ce9e9bf 100644
--- a/pykolab/plugins/recipientpolicy/__init__.py
+++ b/pykolab/plugins/recipientpolicy/__init__.py
@@ -65,7 +65,7 @@ class KolabRecipientpolicy(object):
mail = kw['primary_mail'] % user_attrs
return mail.lower()
except KeyError, e:
- self.conf.log.warning(_("Attribute substitution for 'mail' failed in Recipient Policy"))
+ log.warning(_("Attribute substitution for 'mail' failed in Recipient Policy"))
return user_attrs['mail'].lower()
def set_secondary_mail(self, *args, **kw):