summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-24 22:07:02 +0000
committerMatt Wilson <msw@redhat.com>2000-07-24 22:07:02 +0000
commit2442cb59a00b76bb20529b58b2ab88fd60e3f47e (patch)
tree8565d459bc716b7d1c42afc47b07a870562aa530
parent1993bab2249b81de1dc6e39f2533551022fbfc73 (diff)
downloadanaconda-2442cb59a00b76bb20529b58b2ab88fd60e3f47e.tar.gz
anaconda-2442cb59a00b76bb20529b58b2ab88fd60e3f47e.tar.xz
anaconda-2442cb59a00b76bb20529b58b2ab88fd60e3f47e.zip
fall back to us keymap
-rw-r--r--text.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/text.py b/text.py
index 2ba55775f..23fe1faec 100644
--- a/text.py
+++ b/text.py
@@ -109,7 +109,10 @@ class KeyboardWindow:
else:
default = iutil.defaultKeyboard()
- default = keyboards.index (default)
+ try:
+ default = keyboards.index (default)
+ except ValueError:
+ default = keyboards.index ("us")
(button, choice) = \
ListboxChoiceWindow(screen, _("Keyboard Selection"),