summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-04-01 12:07:41 -0500
committerDavid Lehman <dlehman@redhat.com>2009-04-02 22:09:03 -0500
commitd073744b0d7e0289e605a520482e1cd266203907 (patch)
treeb9e7aff4f171ba7c9936b6ec83ac55a6921be5f4 /textw
parent96e3c9805355372e4bbb30d8ca3791cc252b758e (diff)
downloadanaconda-d073744b0d7e0289e605a520482e1cd266203907.tar.gz
anaconda-d073744b0d7e0289e605a520482e1cd266203907.tar.xz
anaconda-d073744b0d7e0289e605a520482e1cd266203907.zip
Make the disk model an attribute of DiskDevice.
Diffstat (limited to 'textw')
-rw-r--r--textw/partition_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py
index 472a5cea3..8b71754e6 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -95,7 +95,7 @@ class PartitionTypeWindow:
cleardrives = anaconda.id.storage.clearPartDisks
for disk in disks:
- model = disk.partedDisk.device.model
+ model = disk.model
if not cleardrives or len(cleardrives) < 1:
selected = 1