summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-03-04 09:49:40 -0500
committerChris Lumens <clumens@redhat.com>2009-03-04 15:33:27 -0500
commita87612a0deddc4fc160b13175e5c68f7717201da (patch)
tree5a47f3b17843ada9e88feed66e5aca8bfd88b50a /partedUtils.py
parent955380542f3c205c7edcb62731f69ec73be1b8a1 (diff)
downloadanaconda-a87612a0deddc4fc160b13175e5c68f7717201da.tar.gz
anaconda-a87612a0deddc4fc160b13175e5c68f7717201da.tar.xz
anaconda-a87612a0deddc4fc160b13175e5c68f7717201da.zip
protectedPartitions is a list, not a function.
Diffstat (limited to 'partedUtils.py')
-rw-r--r--partedUtils.py4
1 files changed, 2 insertions, 2 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]