diff options
author | Chris Lumens <clumens@redhat.com> | 2005-03-28 19:36:51 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-03-28 19:36:51 +0000 |
commit | dc3bdef00ab252648dd31edae9ab299af7007c19 (patch) | |
tree | 7215e84aef14508c80b69b9abe1b4ecd60fc200b /kickstart.py | |
parent | bb11bd9f01292cd79027c525db4c0d271c2172b4 (diff) | |
download | anaconda-dc3bdef00ab252648dd31edae9ab299af7007c19.tar.gz anaconda-dc3bdef00ab252648dd31edae9ab299af7007c19.tar.xz anaconda-dc3bdef00ab252648dd31edae9ab299af7007c19.zip |
Remove the Boolean class. We have a type for that.
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kickstart.py b/kickstart.py index 815e7343d..ea05af4e1 100644 --- a/kickstart.py +++ b/kickstart.py @@ -374,7 +374,7 @@ class KickstartBase(BaseInstallClass): elif location == "partition": location = "boot" - if upgrade and not id.upgrade.get(): + if upgrade and not id.getUpgrade(): raise KickstartError, "Selected upgrade mode for bootloader but not doing an upgrade" if upgrade: @@ -513,7 +513,7 @@ class KickstartBase(BaseInstallClass): def doUpgrade(self, id, args): self.installType = "upgrade" - id.upgrade.set(1) + id.setUpgrade(True) def doNetwork(self, id, args): # nodns is only used by the loader |