diff options
author | Chris Lumens <clumens@redhat.com> | 2009-03-04 09:49:40 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-03-04 15:33:27 -0500 |
commit | a87612a0deddc4fc160b13175e5c68f7717201da (patch) | |
tree | 5a47f3b17843ada9e88feed66e5aca8bfd88b50a /partedUtils.py | |
parent | 955380542f3c205c7edcb62731f69ec73be1b8a1 (diff) | |
download | anaconda-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.py | 4 |
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] |