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,7 +214,7 @@ class update_uniqueness_plugins_to_new_syntax(Updater):
|
||||
root_logger.error("Unable to migrate configuration of "
|
||||
"plugin %s (%s)",
|
||||
entry.dn, e)
|
||||
|
||||
else:
|
||||
update_list.append(update)
|
||||
|
||||
return False, update_list
|
||||
|
Loading…
Reference in New Issue
Block a user