diff options
author | Jan Cholasta <[email protected]> | 2013-10-31 16:54:21 +0000 |
---|---|---|
committer | Petr Viktorin <[email protected]> | 2014-01-24 20:38:15 +0100 |
commit | c2bd6f365d2b65082f72bd9eb104e79e8c507fe3 (patch) | |
tree | 31449afe21beb62edf20982c2215568997eb6c11 /ipalib/util.py | |
parent | 5737eaf1348ba101ae227fa79fb4451a2413fc84 (diff) | |
download | freeipa-c2bd6f365d2b65082f72bd9eb104e79e8c507fe3.tar.gz freeipa-c2bd6f365d2b65082f72bd9eb104e79e8c507fe3.tar.xz freeipa-c2bd6f365d2b65082f72bd9eb104e79e8c507fe3.zip |
Convert remaining frontend code to LDAPEntry API.
Diffstat (limited to 'ipalib/util.py')
-rw-r--r-- | ipalib/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/util.py b/ipalib/util.py index e14077487..1701fbdd1 100644 --- a/ipalib/util.py +++ b/ipalib/util.py @@ -332,7 +332,7 @@ def convert_sshpubkey_post(ldap, dn, entry_attrs): pubkeys = entry_attrs['ipasshpubkey'] else: old_entry_attrs = ldap.get_entry(dn, ['ipasshpubkey']) - pubkeys = old_entry_attrs[1].get('ipasshpubkey') + pubkeys = old_entry_attrs.get('ipasshpubkey') if not pubkeys: return |