[master 1/1] Do not attempt to set None as a warning
dashea
installerbot-noreply at redhat.com
Fri Mar 13 16:21:58 UTC 2015
From: David Shea <dshea at redhat.com>
---
pyanaconda/ui/gui/hubs/__init__.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py
index 8d388aa..a139bb2 100644
--- a/pyanaconda/ui/gui/hubs/__init__.py
+++ b/pyanaconda/ui/gui/hubs/__init__.py
@@ -88,6 +88,8 @@ def __init__(self, data, storage, payload, instclass):
self._inSpoke = False
self._notReadySpokes = []
self._spokes = {}
+
+ # Used to store the last result of _updateContinue
self._warningMsg = None
self._checker = None
@@ -228,9 +230,11 @@ def _updateContinue(self):
# info bar with incomplete spoke messages when the hub starts
if warning != self._warningMsg:
self.clear_info()
- self.set_warning(warning)
self._warningMsg = warning
+ if warning:
+ self.set_warning(warning)
+
self._updateContinueButton()
@property
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/cf298a1e9e512d91057916384e70e12a09d43f77
More information about the anaconda-patches
mailing list