summaryrefslogtreecommitdiffstats
path: root/kbd.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-07 17:24:58 +0000
committerMatt Wilson <msw@redhat.com>2000-02-07 17:24:58 +0000
commit4322f67ba03d3d95885c1399c5b3585e8f7e4ee7 (patch)
tree05eb2ef4a32170b1924aa7415c44696352eb93a6 /kbd.py
parentf5b2fb5796cc50b48a0043977ea11fa8b14cf358 (diff)
downloadanaconda-4322f67ba03d3d95885c1399c5b3585e8f7e4ee7.tar.gz
anaconda-4322f67ba03d3d95885c1399c5b3585e8f7e4ee7.tar.xz
anaconda-4322f67ba03d3d95885c1399c5b3585e8f7e4ee7.zip
sun keyboard fixes
Diffstat (limited to 'kbd.py')
-rw-r--r--kbd.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/kbd.py b/kbd.py
index d31ab9eea..0a1a75853 100644
--- a/kbd.py
+++ b/kbd.py
@@ -224,7 +224,11 @@ class Keyboard (SimpleConfigFile):
fuzzy = None
for key in keys:
- (mod, lay) = key
+ if type(key) == type(()):
+ (mod, lay) = key
+ else:
+ mod = model
+ lay = key;
if model == mod and layout == lay:
self.info["KEYTABLE"] = mapping[key]
break