summaryrefslogtreecommitdiffstats
path: root/cmdline.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-02-15 16:15:25 +0100
committerHans de Goede <hdegoede@redhat.com>2010-02-16 13:12:43 +0100
commit2cb900c168a536336b89a3b5312d6e7991236721 (patch)
tree058611d72185672afe4baa88e830119a40dc113d /cmdline.py
parent0b65338b0bb6a83a31fd0121cee6d7a699a47b29 (diff)
downloadanaconda-2cb900c168a536336b89a3b5312d6e7991236721.tar.gz
anaconda-2cb900c168a536336b89a3b5312d6e7991236721.tar.xz
anaconda-2cb900c168a536336b89a3b5312d6e7991236721.zip
Warn when ignoring BIOS RAID members (#560932)
This patch adds a warning when ignoring BIOS RAID members because no complete set using them could be found. This patch also introduces a much needed InstallInterfaceBase class, as I didn't feel like adding the exact same code to all of cmdline.py, gui.py and text.py . Note that the ignoring of BIOS RAID members is checked in 2 places, as the filter UI can be skipped under certain circumstances (kickstart). The interface code checks for disks it has already warned about.
Diffstat (limited to 'cmdline.py')
-rw-r--r--cmdline.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmdline.py b/cmdline.py
index 86816be9c..a3fbf2369 100644
--- a/cmdline.py
+++ b/cmdline.py
@@ -26,6 +26,7 @@ import parted
from constants import *
from flags import flags
from iutil import strip_markup
+from installinterfacebase import InstallInterfaceBase
import gettext
_ = lambda x: gettext.ldgettext("anaconda", x)
@@ -62,8 +63,9 @@ class ProgressWindow:
print(text)
print(_("In progress"))
-class InstallInterface:
+class InstallInterface(InstallInterfaceBase):
def __init__(self):
+ InstallInterfaceBase.__init__(self)
# signal.signal(signal.SIGINT, signal.SIG_IGN)
signal.signal(signal.SIGTSTP, signal.SIG_DFL)
self.instProgress = None