summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-03-28 19:36:51 +0000
committerChris Lumens <clumens@redhat.com>2005-03-28 19:36:51 +0000
commitdc3bdef00ab252648dd31edae9ab299af7007c19 (patch)
tree7215e84aef14508c80b69b9abe1b4ecd60fc200b /packages.py
parentbb11bd9f01292cd79027c525db4c0d271c2172b4 (diff)
downloadanaconda-dc3bdef00ab252648dd31edae9ab299af7007c19.tar.gz
anaconda-dc3bdef00ab252648dd31edae9ab299af7007c19.tar.xz
anaconda-dc3bdef00ab252648dd31edae9ab299af7007c19.zip
Remove the Boolean class. We have a type for that.
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages.py b/packages.py
index 6e0abe9a4..ce3afa573 100644
--- a/packages.py
+++ b/packages.py
@@ -313,7 +313,7 @@ def checkDependencies(dir, intf, disp, id, instPath):
# FIXME: we really don't need to build up a ts more than once
# granted, this is better than before still
- if id.upgrade.get():
+ if id.getUpgrade():
ts = getAnacondaTS(instPath)
how = "u"
else:
@@ -561,7 +561,7 @@ def doMigrateFilesystems(dir, thefsset, diskset, upgrade, instPath):
thefsset.migrateFilesystems (instPath)
# if we're upgrading, we may need to do lvm device node hackery
- if upgrade.get():
+ if upgrade:
thefsset.makeLVMNodes(instPath, trylvm1 = 1)
@@ -572,7 +572,7 @@ def turnOnFilesystems(dir, thefsset, diskset, partitions, upgrade, instPath):
return
if flags.setupFilesystems:
- if not upgrade.get():
+ if not upgrade:
partitions.doMetaDeletes(diskset)
thefsset.setActive(diskset)
if not thefsset.isActive():
@@ -587,7 +587,7 @@ def turnOnFilesystems(dir, thefsset, diskset, partitions, upgrade, instPath):
def setupTimezone(timezone, upgrade, instPath, dir):
# we don't need this on an upgrade or going backwards
- if upgrade.get() or (dir == DISPATCH_BACK):
+ if upgrade or (dir == DISPATCH_BACK):
return
# dont do this in test mode!
@@ -636,7 +636,7 @@ def handleMiscPackages(intf, id, dir):
sys.exit(0)
# shorthand
- upgrade = id.upgrade.get()
+ upgrade = id.getUpgrade()
def select(hdrlist, name):
if hdrlist.has_key(name):
@@ -721,7 +721,7 @@ def doPreInstall(method, id, intf, instPath, dir):
return
# shorthand
- upgrade = id.upgrade.get()
+ upgrade = id.getUpgrade()
# make sure that all comps that include other comps are
# selected (i.e. - recurse down the selected comps and turn
@@ -843,7 +843,7 @@ def doInstall(method, id, intf, instPath):
# set up dependency white outs
import whiteout
- upgrade = id.upgrade.get()
+ upgrade = id.getUpgrade()
ts = getAnacondaTS(instPath)
total = 0
@@ -1117,7 +1117,7 @@ def doPostInstall(method, id, intf, instPath):
w = intf.progressWindow(_("Post Install"),
_("Performing post install configuration..."), 6)
- upgrade = id.upgrade.get()
+ upgrade = id.getUpgrade()
arch = iutil.getArch ()
if upgrade: