--- partedUtils.py | 4 ++-- yuminstall.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/partedUtils.py b/partedUtils.py index dc64ee3..c42dc67 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -223,7 +223,7 @@ def hasProtectedPartitions(drive, anaconda): return rc try: - for protected in anaconda.id.partitions.protectedPartitions(): + for protected in anaconda.id.storage.protectedPartitions: if protected.startswith(drive): part = protected[len(drive):] if part[0] == "p": @@ -584,7 +584,7 @@ class DiskSet: drives = self.disks.keys() drives.sort() - protected = self.anaconda.id.partitions.protectedPartitions() + protected = self.anaconda.id.storage.protectedPartitions for drive in drives: disk = self.disks[drive] diff --git a/yuminstall.py b/yuminstall.py index d5efee0..eb69e2b 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -1434,7 +1434,7 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon # If there are any protected partitions we want to mount, create their # mount points now. - protected = anaconda.id.storage.protectedPartitions() + protected = anaconda.id.storage.protectedPartitions if protected: for protectedDev in protected: request = anaconda.id.storage.devicetree.getDeviceByName(protectedDev) -- 1.6.1.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list