summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-04-27 21:39:53 +0000
committerJeremy Katz <katzj@redhat.com>2005-04-27 21:39:53 +0000
commitf074f6e5feaad861fb65df200063f278713c440c (patch)
treebbc6c8b6f5f4e7977b73568d3e8deedac437bb42
parent6eed410f6d4bbf8f85ba493fc7d49fbbec1aae09 (diff)
downloadanaconda-f074f6e5feaad861fb65df200063f278713c440c.tar.gz
anaconda-f074f6e5feaad861fb65df200063f278713c440c.tar.xz
anaconda-f074f6e5feaad861fb65df200063f278713c440c.zip
2005-04-27 Jeremy Katz <katzj@redhat.com>
* gui.py (InstallInterface.run): Don't set SUPPORTED unnecessarily (#155847) * language.py (Language.getDefault): Likewise. * text.py (InstallInterface.run): Likewise.
-rw-r--r--ChangeLog5
-rwxr-xr-xgui.py4
-rw-r--r--language.py6
-rw-r--r--text.py4
4 files changed, 5 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 421dc358a..29a5492bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-04-27 Jeremy Katz <katzj@redhat.com>
+ * gui.py (InstallInterface.run): Don't set SUPPORTED
+ unnecessarily (#155847)
+ * language.py (Language.getDefault): Likewise.
+ * text.py (InstallInterface.run): Likewise.
+
* iutil.py (writeRpmPlatform): patch from Joe Pruett to improve
rpmarch= support (#101971)
diff --git a/gui.py b/gui.py
index ae0206222..3e1356403 100755
--- a/gui.py
+++ b/gui.py
@@ -764,10 +764,6 @@ class InstallInterface:
id.fsset.registerProgressWindow(self.progressWindow)
id.fsset.registerWaitWindow(self.waitWindow)
- # Don't set if kickstart already set up a supported lang list.
- if not id.instLanguage.getSupported():
- id.instLanguage.setSupported([id.instLanguage.getDefault()])
-
parted.exception_set_handler(partedExceptionWindow)
self.icw = InstallControlWindow (self, self.dispatch, id)
diff --git a/language.py b/language.py
index 1930ad17f..889eaf8f4 100644
--- a/language.py
+++ b/language.py
@@ -176,12 +176,6 @@ class Language:
return self.default
elif self.current:
nick = self.getNickByName (self.current)
- if nick not in self.getSupported():
- # the default language needs to be in the supported list!
- s = self.getSupported()
- s.append(nick)
- s.sort()
- self.setSupported(s)
return nick
else:
diff --git a/text.py b/text.py
index 53c9737fa..58149e0d6 100644
--- a/text.py
+++ b/text.py
@@ -441,10 +441,6 @@ class InstallInterface:
id.fsset.registerProgressWindow(self.progressWindow)
id.fsset.registerWaitWindow(self.waitWindow)
- # Don't set if kickstart already set up a supported lang list.
- if not id.instLanguage.getSupported():
- id.instLanguage.setSupported([id.instLanguage.getDefault()])
-
parted.exception_set_handler(self.partedExceptionWindow)
lastrc = INSTALL_OK