diff options
author | Chris Lumens <clumens@redhat.com> | 2009-08-14 10:34:54 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-08-17 13:31:03 -0400 |
commit | b53ba0773002e4e875743ef734647de483a1ea83 (patch) | |
tree | 0379daf5bd198452821e2376cd6268d0f4ddcbde /command-stubs/list-harddrives-stub | |
parent | d91427d3670faf547b6d3fd73ae68a2cfcb81c88 (diff) | |
download | anaconda-b53ba0773002e4e875743ef734647de483a1ea83.tar.gz anaconda-b53ba0773002e4e875743ef734647de483a1ea83.tar.xz anaconda-b53ba0773002e4e875743ef734647de483a1ea83.zip |
Later pyparted will define DEVICE_DM, so change the test to use it.
Diffstat (limited to 'command-stubs/list-harddrives-stub')
-rwxr-xr-x | command-stubs/list-harddrives-stub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/command-stubs/list-harddrives-stub b/command-stubs/list-harddrives-stub index ae7e31dba..e854d6c85 100755 --- a/command-stubs/list-harddrives-stub +++ b/command-stubs/list-harddrives-stub @@ -24,7 +24,7 @@ import parted def main(argv): lst = set() - for dev in filter(lambda d: d.type <= parted.DEVICE_SX8, parted.getAllDevices()): + for dev in filter(lambda d: d.type != parted.DEVICE_DM, parted.getAllDevices()): disk = parted.Disk(dev) for part in disk.partitions: |