mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
py3: modify_s: attribute name must be str not bytes
https://fedorahosted.org/freeipa/ticket/4985 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
parent
2f4442fff5
commit
88b192a37e
@ -729,7 +729,7 @@ class LDAPClient(object):
|
||||
# FIXME: for backwards compatibility only
|
||||
assert isinstance(dn, DN)
|
||||
dn = str(dn)
|
||||
modlist = [(a, self.encode(b), self.encode(c)) for a, b, c in modlist]
|
||||
modlist = [(a, b, self.encode(c)) for a, b, c in modlist]
|
||||
return self.conn.modify_s(dn, modlist)
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user