summaryrefslogtreecommitdiffstats
path: root/silo.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-01-11 22:56:00 +0000
committerMike Fulbright <msf@redhat.com>2001-01-11 22:56:00 +0000
commit5c96939d1b033a744cb9ad64416f188eadcf6eb8 (patch)
tree8106ea7c804158fb53a80a4a31ea19a6deb4080f /silo.py
parent8ce4df95abe673ffa8b76c5f8957a45d1aa05c52 (diff)
downloadanaconda-5c96939d1b033a744cb9ad64416f188eadcf6eb8.tar.gz
anaconda-5c96939d1b033a744cb9ad64416f188eadcf6eb8.tar.xz
anaconda-5c96939d1b033a744cb9ad64416f188eadcf6eb8.zip
Made two different calls to get maxcyl of partitions, one for reading from drive directly, the other for getting it from the ddruid object. Added one entity to tuple returned from partitionList(), fixed up code to reflect change
Diffstat (limited to 'silo.py')
-rw-r--r--silo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/silo.py b/silo.py
index 74f3374c2..d4b7071d1 100644
--- a/silo.py
+++ b/silo.py
@@ -102,7 +102,7 @@ class SiloInstall:
self.siloImages = {}
nSolaris = 0
nSunOS = 0
- for (dev, devName, type, start, size) in drives:
+ for (dev, devName, type, start, size, maxcyl) in drives:
# ext2 and raid partitions get listed if
# 1) they're /
# 2) they're not mounted
@@ -152,7 +152,7 @@ class SiloInstall:
i = i - 1
boothd = bootpart[:i+1]
(drives, raid) = fstab.partitionList()
- for (dev, devName, type, start, size) in drives:
+ for (dev, devName, type, start, size, maxcyl) in drives:
i = len (dev) - 1
while i > 0 and dev[i] in string.digits:
i = i - 1