diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-02-12 09:47:50 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-02-12 11:30:18 -1000 |
commit | 8e8efbfb0d49191c811d9f5eef6f00ed9bf6a6e2 (patch) | |
tree | 8fda8f60e5d25677ffbc632aab75ebbaa1dd23f4 /textw | |
parent | c4e53f5b148ec8cc78ea0ba69239fa2734182298 (diff) | |
download | anaconda-8e8efbfb0d49191c811d9f5eef6f00ed9bf6a6e2.tar.gz anaconda-8e8efbfb0d49191c811d9f5eef6f00ed9bf6a6e2.tar.xz anaconda-8e8efbfb0d49191c811d9f5eef6f00ed9bf6a6e2.zip |
Use device property on Disk and Geometry objects.
The property name for Device objects on a Disk or Geometry is
'device', not 'dev'.
Diffstat (limited to 'textw')
-rw-r--r-- | textw/partition_text.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py index fa7c3e0fd..ded62f283 100644 --- a/textw/partition_text.py +++ b/textw/partition_text.py @@ -102,8 +102,8 @@ class PartitionTypeWindow: cleardrives = anaconda.id.partitions.autoClearPartDrives for disk in disks: - size = anaconda.id.diskset.disks[disk].dev.getSize(unit="MB") - model = anaconda.id.diskset.disks[disk].dev.model + size = anaconda.id.diskset.disks[disk].device.getSize(unit="MB") + model = anaconda.id.diskset.disks[disk].device.model if not cleardrives or len(cleardrives) < 1: selected = 1 |