Kconfiglib
Kconfiglib copied to clipboard
menuconfig: fix crash caused by unsupported locales
When run on a system with an unsupported locale setting (e.g. LC_TIME=en_DE.UTF-8), menuconfig.py crashes with the following message:
locale.Error: unsupported locale setting
This fixes it by using the default locale if an unsupported locale is encountered.