From 8de6dc00dc3fc7e7a20ea6fcb6b8817224a974d7 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 2 Oct 2009 09:23:40 -0400 Subject: Robustness fix for updater, in case updates['updates'] is not set yet. --- ipaserver/install/ldapupdate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipaserver/install/ldapupdate.py') 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) -- cgit