summaryrefslogtreecommitdiffstats
path: root/language.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-02-26 17:38:28 +0000
committerJeremy Katz <katzj@redhat.com>2003-02-26 17:38:28 +0000
commit47d56224fa166a6f4b25d5a71bb19ebddf6e25bb (patch)
tree265f036233313272ec09ed6e5c7948a691869537 /language.py
parent4622037e5b23ed2ce0d2365a0bfeb14bf8fd0faa (diff)
downloadanaconda-47d56224fa166a6f4b25d5a71bb19ebddf6e25bb.tar.gz
anaconda-47d56224fa166a6f4b25d5a71bb19ebddf6e25bb.tar.xz
anaconda-47d56224fa166a6f4b25d5a71bb19ebddf6e25bb.zip
oops, adjust for lang-table changes
Diffstat (limited to 'language.py')
-rw-r--r--language.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/language.py b/language.py
index 66c203aa0..6cbd619bf 100644
--- a/language.py
+++ b/language.py
@@ -82,7 +82,7 @@ class InstallTimeLanguage:
l = string.split(line)
# throw out invalid lines
- if len(l) < 8:
+ if len(l) < 7:
continue
longName = l[0]
@@ -131,7 +131,7 @@ class InstallTimeLanguage:
if (nick == lang) or (nick == lang[0:len(nick)]) or (lang == nick[0:len(lang)]):
return self.getLangNameByNick(main)
- #raise KeyError, "language %s not found" % lang
+# raise KeyError, "language %s not found" % lang
return self.getLangNameByNick("en_US.UTF-8")
def getDefaultKeyboard(self):