From 13ddc63d947d11106a4183604017f9ae57bffe41 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 1 May 2011 12:14:54 +0000 Subject: pass dn and attributes to functions separately git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1452 ef36b2f9-881f-0410-afb5-c4e39611909c --- pynslcd/alias.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pynslcd/alias.py') diff --git a/pynslcd/alias.py b/pynslcd/alias.py index 979d266..940a98f 100644 --- a/pynslcd/alias.py +++ b/pynslcd/alias.py @@ -33,8 +33,7 @@ class AliasRequest(common.Request): attributes = ( 'cn', 'rfc822MailMember' ) - def write(self, entry): - dn, attributes = entry + def write(self, dn, attributes): # get name and check against requested name names = attributes.get(self.attmap_cn, []) if not names: -- cgit v1.2.3