summaryrefslogtreecommitdiffstats
path: root/pykolab/plugins/recipientpolicy/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/plugins/recipientpolicy/__init__.py')
-rw-r--r--pykolab/plugins/recipientpolicy/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/plugins/recipientpolicy/__init__.py b/pykolab/plugins/recipientpolicy/__init__.py
index 6621947..ab72980 100644
--- a/pykolab/plugins/recipientpolicy/__init__.py
+++ b/pykolab/plugins/recipientpolicy/__init__.py
@@ -54,7 +54,7 @@ class KolabRecipientpolicy(object):
Return the new primary mail address
"""
- user_attrs = utils.normalize(kw['user_attrs'])
+ user_attrs = utils.normalize(kw['entry'])
if not user_attrs.has_key('domain'):
user_attrs['domain'] = kw['primary_domain']
@@ -84,7 +84,7 @@ class KolabRecipientpolicy(object):
Return a list of secondary mail addresses
"""
- user_attrs = utils.normalize(kw['user_attrs'])
+ user_attrs = utils.normalize(kw['entry'])
if not user_attrs.has_key('domain'):
user_attrs['domain'] = kw['primary_domain']