summaryrefslogtreecommitdiffstats
path: root/storage/formats/disklabel.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-10-27 16:52:58 +0100
committerHans de Goede <hdegoede@redhat.com>2009-10-28 10:27:53 +0100
commit81b7b447818db245359dea1a4eb23a07b916f720 (patch)
tree1352fde77d8f0edfbbe7ff9681edfc2f924524dd /storage/formats/disklabel.py
parenta1684b3a2ce85b11dfc563e05fbff654510a9ead (diff)
downloadanaconda-81b7b447818db245359dea1a4eb23a07b916f720.tar.gz
anaconda-81b7b447818db245359dea1a4eb23a07b916f720.tar.xz
anaconda-81b7b447818db245359dea1a4eb23a07b916f720.zip
Rename platform.diskType to platform.diskLabelType
Rename platform.diskType to platform.diskLabelType, as diskType is confusing (we usally use it to refer to is the disk dasd, iscsi, zfcp, etc.).
Diffstat (limited to 'storage/formats/disklabel.py')
-rw-r--r--storage/formats/disklabel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/formats/disklabel.py b/storage/formats/disklabel.py
index 9d07d31f2..a6e3352ee 100644
--- a/storage/formats/disklabel.py
+++ b/storage/formats/disklabel.py
@@ -92,7 +92,7 @@ class DiskLabel(DeviceFormat):
def freshPartedDisk(self):
""" Return a new, empty parted.Disk instance for this device. """
log_method_call(self, device=self.device)
- labelType = platform.getPlatform(None).diskType
+ labelType = platform.getPlatform(None).diskLabelType
return parted.freshDisk(device=self.partedDevice, ty=labelType)
@property