--- iw/raid_dialog_gui.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py index 4481d52..80e62d3 100644 --- a/iw/raid_dialog_gui.py +++ b/iw/raid_dialog_gui.py @@ -113,7 +113,7 @@ class RaidEditor: def raidlevelchangeCB(self, widget, sparesb): raidlevel = widget.get_model()[widget.get_active()][0] numparts = sparesb.get_data("numparts") - maxspares = raid.get_raid_max_spares(raidlevel, numparts) + maxspares = get_raid_max_spares(raidlevel, numparts) if maxspares > 0 and raidlevel != "raid0": adj = sparesb.get_adjustment() @@ -398,7 +398,7 @@ class RaidEditor: nspares = 0 if origrequest.level: - maxspares = raid.get_raid_max_spares(origrequest.level, + maxspares = get_raid_max_spares(origrequest.level, numparts) else: maxspares = 0 -- 1.5.4.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list