diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-05-01 12:14:54 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-05-01 12:14:54 +0000 |
commit | 13ddc63d947d11106a4183604017f9ae57bffe41 (patch) | |
tree | da0d4d4c28a12bb687fb637cae179b3121603e74 /pynslcd/ether.py | |
parent | c537c3acc5727a65dd41f94182391365ce022d27 (diff) |
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
Diffstat (limited to 'pynslcd/ether.py')
-rw-r--r-- | pynslcd/ether.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pynslcd/ether.py b/pynslcd/ether.py index e5724b8..fca25e6 100644 --- a/pynslcd/ether.py +++ b/pynslcd/ether.py @@ -45,8 +45,7 @@ class EtherRequest(common.Request): super(EtherRequest, self).__init__(*args) self.ether = None - 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: |