diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-02-11 16:29:33 +0100 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-10-31 18:09:51 +0100 |
commit | a7180ed021b2ed55949eb98f54e3f4593bc9cecf (patch) | |
tree | 8367ceb6f28323852cd1927172d23cc8a2690f4f /ipaserver/install/krbinstance.py | |
parent | 463407ac6fb683b85866e39080cebe47b8c89fbc (diff) | |
download | freeipa.git-a7180ed021b2ed55949eb98f54e3f4593bc9cecf.tar.gz freeipa.git-a7180ed021b2ed55949eb98f54e3f4593bc9cecf.tar.xz freeipa.git-a7180ed021b2ed55949eb98f54e3f4593bc9cecf.zip |
Remove legacy toDict and origDataDict methods of LDAPEntry.
https://fedorahosted.org/freeipa/ticket/3521
Diffstat (limited to 'ipaserver/install/krbinstance.py')
-rw-r--r-- | ipaserver/install/krbinstance.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/krbinstance.py b/ipaserver/install/krbinstance.py index a16e4d5f..cd39b827 100644 --- a/ipaserver/install/krbinstance.py +++ b/ipaserver/install/krbinstance.py @@ -123,10 +123,10 @@ class KrbInstance(service.Service): ipauniqueid=['autogenerate'], managedby=[host_dn], ) - if 'krbpasswordexpiration' in service_entry.toDict(): + if 'krbpasswordexpiration' in service_entry: host_entry['krbpasswordexpiration'] = service_entry[ 'krbpasswordexpiration'] - if 'krbticketflags' in service_entry.toDict(): + if 'krbticketflags' in service_entry: host_entry['krbticketflags'] = service_entry['krbticketflags'] self.admin_conn.add_entry(host_entry) |