[PATCH 3/3] Don't try to update spokes that are indirect.

Chris Lumens clumens at redhat.com
Mon Feb 18 15:51:41 UTC 2013


This was just minor confusion.  It's not the spoke being processed that
we need to be concerned about.  It's all the ones that might get their
incompleteness checked.
---
 pyanaconda/ui/gui/hubs/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py
index f41cad7..75e0309 100644
--- a/pyanaconda/ui/gui/hubs/__init__.py
+++ b/pyanaconda/ui/gui/hubs/__init__.py
@@ -387,8 +387,8 @@ class Hub(GUIObject, common.Hub):
         self._inSpoke = False
 
         # Now update the selector with the current status and completeness.
-        if not spoke.indirect:
-            for sp in self._spokes.itervalues():
+        for sp in self._spokes.itervalues():
+            if not sp.indirect:
                 self._updateCompleteness(sp)
 
         # And then if that spoke wants us to jump straight to another one,
-- 
1.8.1.2



More information about the anaconda-patches mailing list