diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-02-12 09:37:07 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-02-12 11:29:24 -1000 |
commit | 501b1cf15a48973a0dbab735d89026a512760ec0 (patch) | |
tree | 180808e3d85c308e760a38d3bfd99a2947868427 /bootloader.py | |
parent | 7554d826252c21b247e2baf11d2a89233c9ec336 (diff) | |
download | anaconda-501b1cf15a48973a0dbab735d89026a512760ec0.tar.gz anaconda-501b1cf15a48973a0dbab735d89026a512760ec0.tar.xz anaconda-501b1cf15a48973a0dbab735d89026a512760ec0.zip |
Removed partedUtils.get_partition_by_name()
Now provided by pyparted as parted.getPartitionByName()
Diffstat (limited to 'bootloader.py')
-rw-r--r-- | bootloader.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bootloader.py b/bootloader.py index 259eaece6..5c495cf3c 100644 --- a/bootloader.py +++ b/bootloader.py @@ -129,8 +129,7 @@ def bootloaderSetupChoices(anaconda): bootDev = anaconda.id.fsset.getEntryByMountPoint("/") if not bootDev: bootDev = anaconda.id.fsset.getEntryByMountPoint("/boot") - part = partedUtils.get_partition_by_name(anaconda.id.diskset.disks, - bootDev.device.getDevice()) + part = parted.getPartitionByName(bootDev.device.getDevice()) if part and part.geom.dev.endSectorToCylinder(part.geom.end) >= 1024: anaconda.id.bootloader.above1024 = 1 |