mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix 'referenced before assignment' warning
This commit is contained in:
parent
fe8aeef307
commit
c76bbd5129
@ -324,6 +324,7 @@ def uninstall(options, env, quiet=False):
|
|||||||
if ntp_configured:
|
if ntp_configured:
|
||||||
ntp_enabled = statestore.restore_state('ntp', 'enabled')
|
ntp_enabled = statestore.restore_state('ntp', 'enabled')
|
||||||
ntp_step_tickers = statestore.restore_state('ntp', 'step-tickers')
|
ntp_step_tickers = statestore.restore_state('ntp', 'step-tickers')
|
||||||
|
restored = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Restore might fail due to file missing in backup
|
# Restore might fail due to file missing in backup
|
||||||
|
Loading…
Reference in New Issue
Block a user