platform.X86.__init__ did: self.diskLabelType = foo instead of self._diskLabelType = foo. So it was overriding the method from the base class. --- platform.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform.py b/platform.py index c0cc602..ca4bf9e 100644 --- a/platform.py +++ b/platform.py @@ -257,7 +257,7 @@ class Alpha(Platform): disk = req.disk.format.partedDisk # Check that we're a BSD disk label - if not disk.type == self.diskLabelType.name: + if not disk.type == self._diskLabelType.name: errors.append(_("%s must have a bsd disk label.") % req.disk.name) # The first free space should start at the beginning of the drive and @@ -400,7 +400,7 @@ class NewWorldPPC(PPC): disk = req.disk.format.partedDisk # Check that we're a Mac disk label - if not disk.type == self.diskLabelType.name: + if not disk.type == self._diskLabelType.name: errors.append(_("%s must have a mac disk label.") % req.disk.name) # All of the above just checks the appleboot partitions. We still @@ -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