From 92ee5ee90df9d704a053e808ab0daf01005cb4be Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Oct 05 2011 13:04:20 +0000 Subject: Fix 'referenced before assignment' warning --- diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index 70ef811..5f541f3 100755 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -324,6 +324,7 @@ def uninstall(options, env, quiet=False): if ntp_configured: ntp_enabled = statestore.restore_state('ntp', 'enabled') ntp_step_tickers = statestore.restore_state('ntp', 'step-tickers') + restored = False try: # Restore might fail due to file missing in backup