diff options
author | Erik Troan <ewt@redhat.com> | 2001-01-25 05:05:42 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2001-01-25 05:05:42 +0000 |
commit | 2d5fdb6ef5ac6ffb7b8821982695bb52f93b359b (patch) | |
tree | f02ad76df23bf8d4ffcd550c1008528b5283b025 /todo.py | |
parent | 393bd5b3a54df32371415bf8d1ff7d08a901b147 (diff) | |
download | anaconda-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.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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"] = "" |