Skip to content

coala-setup.py.jj2: Add locale.Error for handling

Guangyuan Yang requested to merge yzgyyang/mobans:fix-locale into master

locale.setlocale() will throw a locale.Error if the locale setting passed in is not supported.

This fixes the error by handling locale.Error in the try-except and try another local setting.

Closes coala-utils#56 (closed)

Merge request reports