summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-02-23 23:50:46 -0600
committerDavid Lehman <dlehman@redhat.com>2009-02-23 23:50:46 -0600
commit27c7677da6a6f7b9db3a95ed7b7732c905fff730 (patch)
tree4037d986ca43fe816fb8ef034c9f3e70ed7c735d /installclass.py
parent89d473cad8a864727b1d13b793c0a9cba1d5de5e (diff)
downloadanaconda-27c7677da6a6f7b9db3a95ed7b7732c905fff730.tar.gz
anaconda-27c7677da6a6f7b9db3a95ed7b7732c905fff730.tar.xz
anaconda-27c7677da6a6f7b9db3a95ed7b7732c905fff730.zip
Remove format flag from autorequest tuple since it's always True.
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/installclass.py b/installclass.py
index 4a1e95269..a028a0a06 100644
--- a/installclass.py
+++ b/installclass.py
@@ -188,15 +188,15 @@ class BaseInstallClass(object):
return AnacondaBackend
def setDefaultPartitioning(self, storage, clear = CLEARPART_TYPE_LINUX,
- doClear = 1, useLVM = True):
- autorequests = [ ("/", None, 1024, None, 1, 1, 1) ]
+ doClear = True, useLVM = True):
+ autorequests = [ ("/", None, 1024, None, True, True) ]
bootreq = getAutopartitionBoot(storage)
if bootreq:
autorequests.extend(bootreq)
(minswap, maxswap) = iutil.swapSuggestion()
- autorequests.append((None, "swap", minswap, maxswap, 1, 1, 1))
+ autorequests.append((None, "swap", minswap, maxswap, True, True))
if doClear:
storage.autoClearPartType = clear