diff options
author | David Cantrell <dcantrell@redhat.com> | 2012-02-29 17:28:13 -0500 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2012-02-29 17:33:17 -0500 |
commit | 10289725c818ce2aae4636cef7db4cf297747c59 (patch) | |
tree | 0717c5a470f00b83ce9b29e85011c25ca5aac853 /pyanaconda/platform.py | |
parent | 22787c1730071a160d152a9f1b4a7a92288acd28 (diff) | |
download | anaconda-10289725c818ce2aae4636cef7db4cf297747c59.tar.gz anaconda-10289725c818ce2aae4636cef7db4cf297747c59.tar.xz anaconda-10289725c818ce2aae4636cef7db4cf297747c59.zip |
Fix dasd device type test in platform.py (#796791)
(cherry picked from commit b756228bd249fca3a6cb6b1bbfa5c1be9392f091)
Diffstat (limited to 'pyanaconda/platform.py')
-rw-r--r-- | pyanaconda/platform.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py index c57c76e7e..536a84935 100644 --- a/pyanaconda/platform.py +++ b/pyanaconda/platform.py @@ -313,7 +313,7 @@ class S390(Platform): def requiredDiskLabelType(self, device_type): """The required disklabel type for the specified device type.""" - if device_type == "dasd": + if device_type == parted.DEVICE_DASD: return "dasd" return super(S390, self).requiredDiskLabelType(device_type) |