diff options
author | Chris Lumens <clumens@redhat.com> | 2006-05-04 19:58:53 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-05-04 19:58:53 +0000 |
commit | 9e1a444c46abcfc29c2e44ffd102fcc1eda6289e (patch) | |
tree | fc10e993fe6c8292fbd0cb57fb6ad4135b0a8fad /autopart.py | |
parent | 2d90bc12dcc682a7f0ff68e599cbb81a34a0b4a3 (diff) | |
download | anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.tar.gz anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.tar.xz anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.zip |
Make all UI steps use anaconda class. Add system-config-keyboard shim.
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/autopart.py b/autopart.py index 3f9a1fe75..2adf3e488 100644 --- a/autopart.py +++ b/autopart.py @@ -1652,9 +1652,9 @@ def getAutopartitionBoot(): else: return [ ("/boot", None, 100, None, 0, 1, 0) ] -def queryAutoPartitionOK(intf, diskset, partitions): - type = partitions.autoClearPartType - drives = partitions.autoClearPartDrives +def queryAutoPartitionOK(anaconda): + type = anaconda.id.partitions.autoClearPartType + drives = anaconda.id.partitions.autoClearPartDrives if type == CLEARPART_TYPE_LINUX: msg = CLEARPART_TYPE_LINUX_WARNING_MSG @@ -1667,7 +1667,7 @@ def queryAutoPartitionOK(intf, diskset, partitions): drvstr = "\n\n" if drives == None: - drives = diskset.disks.keys() + drives = anaconda.id.diskset.disks.keys() drives.sort() width = 44 @@ -1686,7 +1686,7 @@ def queryAutoPartitionOK(intf, diskset, partitions): str = "%-*s" % (maxlen, "/dev/"+drive) drvstr = drvstr + str + "\n" - rc = intf.messageWindow(_("Warning"), _(msg) % drvstr, type="yesno", default="no", custom_icon ="warning") + rc = anaconda.intf.messageWindow(_("Warning"), _(msg) % drvstr, type="yesno", default="no", custom_icon ="warning") return rc |