diff options
author | Martin Basti <mbasti@redhat.com> | 2017-01-27 17:00:42 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2017-02-10 14:03:04 +0100 |
commit | 88b192a37ead1538e6d840c2f686f8d21a948542 (patch) | |
tree | 2dc95991e88637f3cd0bd244194d50f5f3891072 | |
parent | 2f4442fff52090bad95a9b1f4f078e4d9acc8069 (diff) | |
download | freeipa-88b192a37ead1538e6d840c2f686f8d21a948542.tar.gz freeipa-88b192a37ead1538e6d840c2f686f8d21a948542.tar.xz freeipa-88b192a37ead1538e6d840c2f686f8d21a948542.zip |
py3: modify_s: attribute name must be str not bytes
https://fedorahosted.org/freeipa/ticket/4985
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
-rw-r--r-- | ipapython/ipaldap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py index 6a4674405..82d45b9a7 100644 --- a/ipapython/ipaldap.py +++ b/ipapython/ipaldap.py @@ -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 |