diff options
author | Chris Lumens <clumens@redhat.com> | 2009-01-27 14:03:47 -0500 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-02-12 11:29:36 -1000 |
commit | e4ceb72d7a801eeaeefbadd0fa672199e10fe0b4 (patch) | |
tree | 9632f4b29d9caece6bc982eac4dad0d5f47a6cff /bootloader.py | |
parent | cd5877227d34078be7f51dc80c95d85119a0c6b1 (diff) | |
download | anaconda-e4ceb72d7a801eeaeefbadd0fa672199e10fe0b4.tar.gz anaconda-e4ceb72d7a801eeaeefbadd0fa672199e10fe0b4.tar.xz anaconda-e4ceb72d7a801eeaeefbadd0fa672199e10fe0b4.zip |
Don't use the native_type flag anymore.
In the old pyparted, this flag was marked with all sorts of warnings about
how it would go away once certain constants were supported. We now support
all the constants libparted exposes, so we don't need to keep ancient hacks
around anymore.
Diffstat (limited to 'bootloader.py')
-rw-r--r-- | bootloader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader.py b/bootloader.py index 5c495cf3c..eedd64211 100644 --- a/bootloader.py +++ b/bootloader.py @@ -88,7 +88,7 @@ def bootloaderSetupChoices(anaconda): disk = anaconda.id.diskset.disks[drive] part = disk.next_partition() while part: - if part.is_active() and part.native_type == 0x41: + if part.is_active() and part.get_flag(parted.PARTITION_PREP): bootPart = part.getDeviceNodeName() break part = disk.next_partition(part) |