summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-10-26 09:08:22 -0400
committerChris Lumens <clumens@redhat.com>2009-10-26 09:09:33 -0400
commitaf977b80f0ab050d8f325d8ace564f45b37df16b (patch)
tree5d6d401243461219cd7f5af46049d1a79b88b7b1
parentda6787cd7dc94d809a40c9de0cf328c19a9b0027 (diff)
downloadanaconda-af977b80f0ab050d8f325d8ace564f45b37df16b.tar.gz
anaconda-af977b80f0ab050d8f325d8ace564f45b37df16b.tar.xz
anaconda-af977b80f0ab050d8f325d8ace564f45b37df16b.zip
max_logical -> max_logicals (#530786).
-rw-r--r--storage/partitioning.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/partitioning.py b/storage/partitioning.py
index 02761a231..b09b58430 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -461,7 +461,7 @@ def getNextPartitionType(disk, no_primary=None):
# there is an extended and a free primary
if not no_primary:
part_type = parted.PARTITION_NORMAL
- elif logical_count < max_logical:
+ elif logical_count < max_logicals:
# we have an extended with logical slots, so use one.
part_type = parted.PARTITION_LOGICAL
else: