[PATCH] Fix dasd device type test in platform.py (#796791)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/platform.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py
index 72070d0..f06083b 100644
--- a/pyanaconda/platform.py
+++ b/pyanaconda/platform.py
@@ -300,7 +300,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)
-- 
1.7.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux