summaryrefslogtreecommitdiffstats
path: root/language.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-03-29 22:42:56 +0000
committerChris Lumens <clumens@redhat.com>2005-03-29 22:42:56 +0000
commit51836f9b392954d0d0f698d0637f5262937262ff (patch)
tree899a0d13e95eee4dcfa19335e00b9605aaa9d072 /language.py
parenta33ae6d738cba6d044ccbbdc8087d1c600c469b0 (diff)
downloadanaconda-51836f9b392954d0d0f698d0637f5262937262ff.tar.gz
anaconda-51836f9b392954d0d0f698d0637f5262937262ff.tar.xz
anaconda-51836f9b392954d0d0f698d0637f5262937262ff.zip
Fix string split.
Diffstat (limited to 'language.py')
-rw-r--r--language.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/language.py b/language.py
index 7f77ca1b5..af201b1e2 100644
--- a/language.py
+++ b/language.py
@@ -66,7 +66,7 @@ class InstallTimeLanguage:
if os.access(path, os.R_OK):
f = open(path, 'r')
for line in f.readlines():
- lang, native = line.split('\t', 1)
+ lang, native = string.split(line, '\t')
native = native.strip()
self.nativeLangNames[lang] = native