>> @@ -211,11 +212,36 @@ class Language(object): >> def getCurrentLangSearchList(self): >> return expandLangs(self.systemLang) + ['C'] >> - def getDefaultKeyboard(self): >> - return self.localeInfo[self.systemLang][3] >> + def getDefaultKeyboard(self, instPath): >> + try: >> + return self.localeInfo[self.systemLang][3] >> + except KeyError: >> + try: >> + kbd = keyboard.Keyboard() >> + kbd.read(instPath) >> + return kbd.get() >> + except: >> + return self.localeInfo[self._default][3] >> + else: >> + return self.localeInfo[self._default][3] >> > > What is the point of this else clause? > Copied from the getDefaultTimeZone block below to match the "if os.path.exists". It doesn't need to be here. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list