[master 2/3] Revert "Missing local variable check"
usta
installerbot-noreply at redhat.com
Wed Mar 11 21:16:03 UTC 2015
From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20USTA?= <omerusta at gmail.com>
This reverts commit ab87f8b3ab292a0658e2758a99e680eeefe5aea6.
---
pyanaconda/ui/gui/hubs/__init__.py | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py
index 554806a..c9977a0 100644
--- a/pyanaconda/ui/gui/hubs/__init__.py
+++ b/pyanaconda/ui/gui/hubs/__init__.py
@@ -225,11 +225,10 @@ def _updateContinue(self):
# Check that this warning isn't already set to avoid spamming the
# info bar with incomplete spoke messages when the hub starts
- if "warning" in locals():
- if warning != self._warningMsg:
- self.clear_info()
- self.set_warning(warning)
- self._warningMsg = warning
+ if warning != self._warningMsg:
+ self.clear_info()
+ self.set_warning(warning)
+ self._warningMsg = warning
self._updateContinueButton()
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/01b315593b1aef43b6416618f34a4052a6c40a2a
More information about the anaconda-patches
mailing list