summaryrefslogtreecommitdiffstats
path: root/platform.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-08-17 16:39:04 -0500
committerDavid Lehman <dlehman@redhat.com>2009-08-17 17:02:19 -0500
commit5844130f997e185cc60fdc2767e48dffed3113ee (patch)
treede143e16f15084252f7faf4fa18929f60e10f5d7 /platform.py
parent8ad877a645079f81a661097d48b4474fb640b2f8 (diff)
downloadanaconda-5844130f997e185cc60fdc2767e48dffed3113ee.tar.gz
anaconda-5844130f997e185cc60fdc2767e48dffed3113ee.tar.xz
anaconda-5844130f997e185cc60fdc2767e48dffed3113ee.zip
Change all disklabel manipulations to use the DiskLabel format class.
The DiskDevice class no longer has any implicit requirement that the device contain a disklabel. The disklabel is now represented as a device format. This provides the basis for future support for device types that can optionally be partitioned, as well as whole-disk formats such as filesystems.
Diffstat (limited to 'platform.py')
-rw-r--r--platform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform.py b/platform.py
index 7e8e34f0b..2c3e8cfc7 100644
--- a/platform.py
+++ b/platform.py
@@ -258,7 +258,7 @@ class Alpha(Platform):
if not disk:
raise DeviceError("Boot partition has no disk")
- disk = disk.partedDisk
+ disk = disk.format.partedDisk
# Check that we're a BSD disk label
if not disk.type == self.diskType.name: