summaryrefslogtreecommitdiffstats
path: root/pyanaconda/platform.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2012-02-29 17:28:13 -0500
committerDavid Cantrell <dcantrell@redhat.com>2012-02-29 17:33:17 -0500
commit10289725c818ce2aae4636cef7db4cf297747c59 (patch)
tree0717c5a470f00b83ce9b29e85011c25ca5aac853 /pyanaconda/platform.py
parent22787c1730071a160d152a9f1b4a7a92288acd28 (diff)
downloadanaconda-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.py2
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)