summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-02-12 09:47:50 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-02-12 11:30:18 -1000
commit8e8efbfb0d49191c811d9f5eef6f00ed9bf6a6e2 (patch)
tree8fda8f60e5d25677ffbc632aab75ebbaa1dd23f4 /textw
parentc4e53f5b148ec8cc78ea0ba69239fa2734182298 (diff)
downloadanaconda-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.py4
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