summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-02-12 09:34:25 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-02-12 11:28:57 -1000
commit50f36336694a379de9f01e770808df44c60cbec9 (patch)
tree21ce386ada933ce02e290f8e100473a60b21b902 /bootloader.py
parent9717e894fe3dd171f1248fa23ab96e3ea1a7f9f6 (diff)
downloadanaconda-50f36336694a379de9f01e770808df44c60cbec9.tar.gz
anaconda-50f36336694a379de9f01e770808df44c60cbec9.tar.xz
anaconda-50f36336694a379de9f01e770808df44c60cbec9.zip
Removed partedUtils.get_partition_name()
Now provided by parted.Partition.getDeviceNodeName()
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader.py b/bootloader.py
index c88b8ed9e..259eaece6 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -68,7 +68,7 @@ def bootloaderSetupChoices(anaconda):
part = disk.next_partition()
while part:
if part.is_active() and partedUtils.isEfiSystemPartition(part):
- bootPart = partedUtils.get_partition_name(part)
+ bootPart = part.getDeviceNodeName()
break
part = disk.next_partition(part)
if bootPart:
@@ -89,7 +89,7 @@ def bootloaderSetupChoices(anaconda):
part = disk.next_partition()
while part:
if part.is_active() and part.native_type == 0x41:
- bootPart = partedUtils.get_partition_name(part)
+ bootPart = part.getDeviceNodeName()
break
part = disk.next_partition(part)
if bootPart: