settings[configname] raises a KeyError if the key isn't in the settings,
so the second part of the line or default_config is never used.
We fixed this.
Config.get('locale.available') returns None if there are no
locale.available, but None cannot be split, so instead we make sure that
if there are no locale.available we get an empty string which can be
split.
There was two problem:
settings[configname] raises a KeyError if the key isn't in the settings, so the second part of the line
or default_config
is never used. We fixed this.Config.get('locale.available') returns None if there are no locale.available, but None cannot be split, so instead we make sure that if there are no locale.available we get an empty string which can be split.