mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
update_uniqueness plugin: fix referenced before assigment error
This error may potentially happen when plugin migration is skipped due an error. In that case variable 'update' was undefined. Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
ae2462738b
commit
8f09499ee0
@ -214,8 +214,8 @@ class update_uniqueness_plugins_to_new_syntax(Updater):
|
|||||||
root_logger.error("Unable to migrate configuration of "
|
root_logger.error("Unable to migrate configuration of "
|
||||||
"plugin %s (%s)",
|
"plugin %s (%s)",
|
||||||
entry.dn, e)
|
entry.dn, e)
|
||||||
|
else:
|
||||||
update_list.append(update)
|
update_list.append(update)
|
||||||
|
|
||||||
return False, update_list
|
return False, update_list
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user