diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-01-03 01:59:38 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-01-03 01:59:38 +0000 |
commit | 560773e850de107ef7bae29e9678777439c99167 (patch) | |
tree | 96bda3b8be3f4ce6c5ed0f031a7cbe7a8b4cd20b /textw | |
parent | 81d784f2ae0b3b15a8d29de7e27cf202aa97c459 (diff) | |
download | anaconda-560773e850de107ef7bae29e9678777439c99167.tar.gz anaconda-560773e850de107ef7bae29e9678777439c99167.tar.xz anaconda-560773e850de107ef7bae29e9678777439c99167.zip |
make sure boot dev also isn't none so they can't update a boot loader we can't detect (#79467)
Diffstat (limited to 'textw')
-rw-r--r-- | textw/upgrade_bootloader_text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/upgrade_bootloader_text.py b/textw/upgrade_bootloader_text.py index f7aaa5983..edf9d3682 100644 --- a/textw/upgrade_bootloader_text.py +++ b/textw/upgrade_bootloader_text.py @@ -44,7 +44,7 @@ class UpgradeBootloaderWindow: else: nobl = 0 - if self.type != None: + if self.type != None and self.bootDev != None: t = TextboxReflowed(53, _("The installer has detected the %s boot " "loader currently installed on %s.") |