summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-05-26 15:28:19 +0000
committerErik Troan <ewt@redhat.com>2000-05-26 15:28:19 +0000
commitc9c1348c53f82eb33c43b5d374b558b10cc667d4 (patch)
treea7af93be8802fbb71c89412e4b61d04ef5944ebe /iw
parent53e5298a1430e7700db2217f61e613ee1813b675 (diff)
downloadanaconda-c9c1348c53f82eb33c43b5d374b558b10cc667d4.tar.gz
anaconda-c9c1348c53f82eb33c43b5d374b558b10cc667d4.tar.xz
anaconda-c9c1348c53f82eb33c43b5d374b558b10cc667d4.zip
don't let failure to load text keymap kill the install
Diffstat (limited to 'iw')
-rw-r--r--iw/keyboard_gui.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/iw/keyboard_gui.py b/iw/keyboard_gui.py
index 3dd0e1add..eeb2f81d3 100644
--- a/iw/keyboard_gui.py
+++ b/iw/keyboard_gui.py
@@ -6,6 +6,7 @@ from translate import _
from kbd import Keyboard
import iutil
import isys
+from log import log
class KeyboardWindow (InstallWindow):
@@ -32,7 +33,10 @@ class KeyboardWindow (InstallWindow):
self.todo.x.setKeyboard (self.rulesbase, self.model,
self.layout, self.variant, "")
self.todo.keyboard.setfromx (self.model, self.layout)
- isys.loadKeymap(self.todo.keyboard.get())
+ try:
+ isys.loadKeymap(self.todo.keyboard.get())
+ except:
+ log("failed to load keymap")
return None
def select_row (self, clist, row, col, event):