[master 1/1] Missing local variable check
usta
installerbot-noreply at redhat.com
Fri Mar 13 02:06:16 UTC 2015
From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20USTA?= <omerusta at gmail.com>
The "warning" (local variable) is not defined in whole conditions thus
it causes "Not defined" error in
anaconda/pyanaconda/ui/gui/hubs/__init__.py
This solves #34
---
pyanaconda/ui/gui/hubs/__init__.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py
index c9977a0..8d388aa 100644
--- a/pyanaconda/ui/gui/hubs/__init__.py
+++ b/pyanaconda/ui/gui/hubs/__init__.py
@@ -217,6 +217,7 @@ def _handleCompleteness(self, spoke, update_continue=True):
self._updateContinue()
def _updateContinue(self):
+ warning = None
if len(self._incompleteSpokes) == 0:
if self._checker and not self._checker.check():
warning = self._checker.error_message
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/b110525a7435a20dc3f180f27d5492c5c65aa558
More information about the anaconda-patches
mailing list