summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--partedUtils.py4
-rw-r--r--yuminstall.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/partedUtils.py b/partedUtils.py
index dc64ee3e0..c42dc6748 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 d5efee07f..eb69e2bfc 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)