[PATCH] FIX: TypeError: '_ped.DiskType' object is not callable (#531730)

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

 



platform.X86.__init__ did: self.diskLabelType = foo instead of
self._diskLabelType = foo. So it was overriding the method from the
base class.
---
 platform.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/platform.py b/platform.py
index c0cc602..8187eb5 100644
--- a/platform.py
+++ b/platform.py
@@ -460,9 +460,9 @@ class X86(EFI):
         EFI.__init__(self, anaconda)
 
         if self.isEfi:
-            self.diskLabelType = parted.diskType["gpt"]
+            self._diskLabelType = parted.diskType["gpt"]
         else:
-            self.diskLabelType = parted.diskType["msdos"]
+            self._diskLabelType = parted.diskType["msdos"]
 
     def bootDevice(self):
         if self.isEfi:
-- 
1.6.5.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