summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-01-25 05:05:42 +0000
committerErik Troan <ewt@redhat.com>2001-01-25 05:05:42 +0000
commit2d5fdb6ef5ac6ffb7b8821982695bb52f93b359b (patch)
treef02ad76df23bf8d4ffcd550c1008528b5283b025 /todo.py
parent393bd5b3a54df32371415bf8d1ff7d08a901b147 (diff)
downloadanaconda-2d5fdb6ef5ac6ffb7b8821982695bb52f93b359b.tar.gz
anaconda-2d5fdb6ef5ac6ffb7b8821982695bb52f93b359b.tar.xz
anaconda-2d5fdb6ef5ac6ffb7b8821982695bb52f93b359b.zip
1) removed printf
2) let us set the language to None
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index b60bab206..20ff9a9a0 100644
--- a/todo.py
+++ b/todo.py
@@ -369,6 +369,10 @@ class Language (SimpleConfigFile):
return 'English (US)'
def setDefault(self, name):
+ if not name:
+ self.default = None
+ return
+
self.default = name
(lang, map, font) = self.langInfoByName[name]
@@ -400,7 +404,6 @@ class Language (SimpleConfigFile):
if self.info["SUPPORTED"]:
os.environ ["LINGUAS"] = self.info["SUPPORTED"]
- print os.environ["LINGUAS"]
else:
os.environ ["LINGUAS"] = ""