summaryrefslogtreecommitdiffstats
path: root/language.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-13 04:21:12 +0000
committerMatt Wilson <msw@redhat.com>2001-07-13 04:21:12 +0000
commit07578f1c8fd35d0ec7b954292d61295af5fcac02 (patch)
tree4071efd3f5b2279da5a0f44d9dda853ec08523ef /language.py
parent58c3ff8cf61b6f6c1ab39ca1f4b366c776157028 (diff)
downloadanaconda-07578f1c8fd35d0ec7b954292d61295af5fcac02.tar.gz
anaconda-07578f1c8fd35d0ec7b954292d61295af5fcac02.tar.xz
anaconda-07578f1c8fd35d0ec7b954292d61295af5fcac02.zip
support the all langs way of writing things (#48997)
Diffstat (limited to 'language.py')
-rw-r--r--language.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/language.py b/language.py
index b6af2a274..18f3f1b1a 100644
--- a/language.py
+++ b/language.py
@@ -265,8 +265,9 @@ class Language (SimpleConfigFile):
def writeKS(self, f):
sup = ""
- for n in self.getSupported():
- sup = sup + " " + self.getLangNickByName(n)
+ if len(self.info["SUPPORTED"]) != len(self.allSupportedLangs):
+ for n in self.getSupported():
+ sup = sup + " " + self.getLangNickByName(n)
f.write("langsupport --default %s%s\n" %
(self.getLangNickByName(self.getDefault()), sup))