nvda
f93d911c - Improve variable naming and remove exception handling when setting language in core.main (#12837)

Commit
4 years ago
Improve variable naming and remove exception handling when setting language in core.main (#12837) Follow up from #12753 Issues: - wx.Locale object was called locale effectively shadowing built-in Python module. While normally there is no reason to have locale imported in that scope if it is necessary for debugging the name is rather unfortunate. - exception handling for importing languageHandler and setting language was too broad hiding eventual issues. Fix: - locale was renamed to wxLocaleObj. - We're no longer catching any exceptions when importing languageHandler and setting language - if any of these fails NVDA is non functional and the exception should propagate.
Author
Parents
Loading