summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-11-28 15:11:42 -0500
committerChris Lumens <clumens@redhat.com>2007-11-28 15:11:42 -0500
commitc5b08b826f9a8f281a19208c9571dfd5da9cf5a3 (patch)
tree7db9d46c27c10467fc609c081baf8b981fed19db /partedUtils.py
parent2aac38821cf72d2bbb42a7cb85a89c871c706422 (diff)
downloadanaconda-c5b08b826f9a8f281a19208c9571dfd5da9cf5a3.tar.gz
anaconda-c5b08b826f9a8f281a19208c9571dfd5da9cf5a3.tar.xz
anaconda-c5b08b826f9a8f281a19208c9571dfd5da9cf5a3.zip
Move protected partitions into the Partitions object.
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 8a3a83bdf..ae095e6c9 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -380,7 +380,7 @@ def hasProtectedPartitions(drive, anaconda):
return rc
try:
- for protected in anaconda.method.protectedPartitions():
+ for protected in anaconda.id.partitions.protectedPartitions():
if protected.startswith(drive):
part = protected[len(drive):]
if part[0] == "p":
@@ -838,7 +838,7 @@ class DiskSet:
drives = self.disks.keys()
drives.sort()
- protected = self.anaconda.method.protectedPartitions()
+ protected = self.anaconda.id.partitions.protectedPartitions()
for drive in drives:
disk = self.disks[drive]