mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Robustness fix for updater, in case updates['updates'] is not set yet.
This commit is contained in:
parent
e62bbab37a
commit
8de6dc00dc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user