summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-11-29 10:31:47 -0500
committerJeremy Katz <katzj@redhat.com>2007-11-29 10:32:17 -0500
commita30e46c8c0ccedbfb9ca3616617bd340498d8836 (patch)
treedbd02cde171cdd763e3ccdb23eab900bf5b0a4a8 /autopart.py
parentf919d978fcdc06856378d53040699d3bd916bbb0 (diff)
downloadanaconda-a30e46c8c0ccedbfb9ca3616617bd340498d8836.tar.gz
anaconda-a30e46c8c0ccedbfb9ca3616617bd340498d8836.tar.xz
anaconda-a30e46c8c0ccedbfb9ca3616617bd340498d8836.zip
fix alpha check
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py
index 001420aa1..b5b517542 100644
--- a/autopart.py
+++ b/autopart.py
@@ -409,7 +409,7 @@ def fitSized(diskset, requests, primOnly = 0, newParts = None):
startSec = freeStartSec
# For alpha reserve space at the begining of disk
- if iutil.getArch() == "alpha" and startSec < long((1024L * 1024L)/disk.dev.sector_size):
+ if rhpl.getArch() == "alpha" and startSec < long((1024L * 1024L)/disk.dev.sector_size):
startSec = long((2 * 1024L * 1024L)/disk.dev.sector_size)
endSec = startSec + long(((request.requestSize * 1024L * 1024L) / disk.dev.sector_size)) - 1