diff options
author | Rob Crittenden <rcritten@redhat.com> | 2009-10-02 09:23:40 -0400 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2009-10-05 13:26:41 -0600 |
commit | 8de6dc00dc3fc7e7a20ea6fcb6b8817224a974d7 (patch) | |
tree | ac5f44cedf4f9791d4021eec3d77bdd23333edbb /ipaserver/install/ldapupdate.py | |
parent | e62bbab37a50fe024977798eb194cbe74bcd3587 (diff) | |
download | freeipa-8de6dc00dc3fc7e7a20ea6fcb6b8817224a974d7.tar.gz freeipa-8de6dc00dc3fc7e7a20ea6fcb6b8817224a974d7.tar.xz freeipa-8de6dc00dc3fc7e7a20ea6fcb6b8817224a974d7.zip |
Robustness fix for updater, in case updates['updates'] is not set yet.
Diffstat (limited to 'ipaserver/install/ldapupdate.py')
-rw-r--r-- | ipaserver/install/ldapupdate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/ldapupdate.py b/ipaserver/install/ldapupdate.py index 01a8d78be..3d97f2222 100644 --- a/ipaserver/install/ldapupdate.py +++ b/ipaserver/install/ldapupdate.py @@ -551,7 +551,7 @@ class LDAPUpdate: and child in the wrong order. """ dn = updates['dn'] - updates = updates['updates'] + updates = updates.get('updates', []) for u in updates: # We already do syntax-parsing so this is safe (utype, k, values) = u.split(':',2) |