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 /partIntfHelpers.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 'partIntfHelpers.py')
-rw-r--r-- | partIntfHelpers.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/partIntfHelpers.py b/partIntfHelpers.py index 10c97f578..5d7f9338f 100644 --- a/partIntfHelpers.py +++ b/partIntfHelpers.py @@ -365,19 +365,19 @@ def doEditPartitionByRequest(intf, requestlist, part): % (partedUtils.get_partition_name(part))) -def checkForSwapNoMatch(intf, diskset, partitions): +def checkForSwapNoMatch(anaconda): """Check for any partitions of type 0x82 which don't have a swap fs.""" - for request in partitions.requests: + for request in anaconda.id.partitions.requests: if not request.device or not request.fstype: continue - part = partedUtils.get_partition_by_name(diskset.disks, + part = partedUtils.get_partition_by_name(anaconda.id.diskset.disks, request.device) if (part and (not part.type & parted.PARTITION_FREESPACE) and (part.native_type == 0x82) and (request.fstype and request.fstype.getName() != "swap") and (not request.format)): - rc = intf.messageWindow(_("Format as Swap?"), + rc = anaconda.intf.messageWindow(_("Format as Swap?"), _("/dev/%s has a partition type of 0x82 " "(Linux swap) but does not appear to " "be formatted as a Linux swap " |