diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-08-03 21:10:53 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-08-03 21:10:53 +0000 |
commit | a0086f615d807e0bef958afef0667003061e93fc (patch) | |
tree | 4f6b7dab515cdb945b2159cc88eee29cfd392b12 | |
parent | ba0dea272a7a3affdea5f6f96b732f999742e42d (diff) | |
download | anaconda-a0086f615d807e0bef958afef0667003061e93fc.tar.gz anaconda-a0086f615d807e0bef958afef0667003061e93fc.tar.xz anaconda-a0086f615d807e0bef958afef0667003061e93fc.zip |
if the specified default isn't in the langlist, put it there. anything else is kind of silly. (#70672)
-rw-r--r-- | installclass.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/installclass.py b/installclass.py index 08059a4c1..ead3dfd68 100644 --- a/installclass.py +++ b/installclass.py @@ -293,6 +293,11 @@ class BaseInstallClass: newlist = [] for lang in langlist: newlist.append(id.langSupport.getLangNameByNick(lang)) + + default = id.langSupport.getDefault() + if default not in newlist: + newlist.append(default) + id.langSupport.setSupported(newlist) def setLanguageDefault(self, id, default): |