FilterSpoke and CustomPartitioningSpoke aren't on a hub, but they don't
have a status, and they don't inherit from StandaloneSpoke. Return None
for status to override the abstract Spoke.status.
SelectDeviceSpoke had no apply method. Provide one that does nothing.
---
pyanaconda/ui/gui/spokes/custom.py | 5 +++++
pyanaconda/ui/gui/spokes/filter.py | 5 +++++
pyanaconda/ui/tui/spokes/source.py | 4 ++++
3 files changed, 14 insertions(+)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index d213324..416f6f9 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -710,6 +710,11 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
def indirect(self):
return True
+ # This spoke has no status since it's not in a hub
+ @property
+ def status(self):
+ return None
+
def _grabObjects(self):
self._configureBox = self.builder.get_object("configureBox")
diff --git a/pyanaconda/ui/gui/spokes/filter.py b/pyanaconda/ui/gui/spokes/filter.py
index 5b70d5f..aa30115 100644
--- a/pyanaconda/ui/gui/spokes/filter.py
+++ b/pyanaconda/ui/gui/spokes/filter.py
@@ -419,6 +419,11 @@ class FilterSpoke(NormalSpoke):
def indirect(self):
return True
+ # This spoke has no status since it's not in a hub
+ @property
+ def status(self):
+ return None
+
def apply(self):
onlyuse = self.selected_disks[:]
for disk in [d for d in self.storage.disks if d.name in onlyuse]:
diff --git a/pyanaconda/ui/tui/spokes/source.py b/pyanaconda/ui/tui/spokes/source.py
index 005bc0e..605532f 100644
--- a/pyanaconda/ui/tui/spokes/source.py
+++ b/pyanaconda/ui/tui/spokes/source.py
@@ -414,6 +414,10 @@ class SelectDeviceSpoke(NormalTUISpoke):
# we don't have the disk for the given number
return key
+ # Override Spoke.apply
+ def apply(self):
+ pass
+
class SelectISOSpoke(NormalTUISpoke, SourceSwitchHandler):
""" Select an ISO to use as install source. """
title = N_("Select an ISO to use as install source")
--
1.8.4.2