summaryrefslogtreecommitdiffstats
path: root/textw/bootloader_text.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-08-14 04:04:56 +0000
committerJeremy Katz <katzj@redhat.com>2001-08-14 04:04:56 +0000
commitf44f8e92c3b8a13150a5c692231c6f3c203abd6e (patch)
tree4b9ee84cb9039abd160de248029e7018a8987f0b /textw/bootloader_text.py
parent7e4f5a4440cc66277fa17bbcefe7c2e79c3b7a81 (diff)
downloadanaconda-f44f8e92c3b8a13150a5c692231c6f3c203abd6e.tar.gz
anaconda-f44f8e92c3b8a13150a5c692231c6f3c203abd6e.tar.xz
anaconda-f44f8e92c3b8a13150a5c692231c6f3c203abd6e.zip
make the label at least an empty string, should fix 51071
Diffstat (limited to 'textw/bootloader_text.py')
-rw-r--r--textw/bootloader_text.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/textw/bootloader_text.py b/textw/bootloader_text.py
index 60f309372..b5f60a5e2 100644
--- a/textw/bootloader_text.py
+++ b/textw/bootloader_text.py
@@ -302,6 +302,8 @@ class BootloaderImagesWindow:
(label, longlabel, type) = images[item]
if bl.useGrub():
label = longlabel
+ if label == None:
+ label = ""
label = self.editItem(screen, item, label, allowNone = (rootdev != item and item != default))
images[item] = (label, label, type)