diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-09-10 10:20:24 +0000 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-11-05 13:56:55 +0100 |
commit | df5f4ee81d1aff1122dd92ab1b56eb335294c3a7 (patch) | |
tree | b112b429a896789029038bd3e25218495b647d56 /ipaserver/install/krbinstance.py | |
parent | 989493979da3ef1136a9b346cace5689ef22eed8 (diff) | |
download | freeipa-df5f4ee81d1aff1122dd92ab1b56eb335294c3a7.tar.gz freeipa-df5f4ee81d1aff1122dd92ab1b56eb335294c3a7.tar.xz freeipa-df5f4ee81d1aff1122dd92ab1b56eb335294c3a7.zip |
Turn LDAPEntry.single_value into a dictionary-like property.
This change makes single_value consistent with the raw property.
https://fedorahosted.org/freeipa/ticket/3521
Diffstat (limited to 'ipaserver/install/krbinstance.py')
-rw-r--r-- | ipaserver/install/krbinstance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/krbinstance.py b/ipaserver/install/krbinstance.py index cd39b8270..af37d05fe 100644 --- a/ipaserver/install/krbinstance.py +++ b/ipaserver/install/krbinstance.py @@ -365,7 +365,7 @@ class KrbInstance(service.Service): raise e krbMKey = pyasn1.codec.ber.decoder.decode( - entry.single_value('krbmkey', None)) + entry.single_value.get('krbmkey')) keytype = int(krbMKey[0][1][0]) keydata = str(krbMKey[0][1][1]) |